We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6406d1d commit 41872e0Copy full SHA for 41872e0
1 file changed
src/components/create-oidc-client-tool.astro
@@ -23,8 +23,10 @@
23
return;
24
}
25
26
- if (!/^[a-zA-Z0-9]*$/.test(clientName)) {
27
- alert("Client name can only contain alphanumeric characters.")
+ if (!/^[a-zA-Z0-9-]*$/.test(clientName)) {
+ alert(
28
+ "Client name can only contain alphanumeric characters and hyphens.",
29
+ );
30
31
32
@@ -38,7 +40,13 @@
38
40
<div class="tool-fields">
39
41
<label class="tool-label">
42
Client Name
- <input name="client-name" type="text" class="tool-input" placeholder="myapp" spellcheck="false" />
43
+ <input
44
+ name="client-name"
45
+ type="text"
46
+ class="tool-input"
47
+ placeholder="myapp"
48
+ spellcheck="false"
49
+ />
50
</label>
51
</div>
52
<button type="submit" class="tool-submit">Create OIDC Client</button>
0 commit comments