Skip to content

Commit c8194e9

Browse files
fix(tokenizer): update the authn domains tooltips (#9388)
1 parent c919102 commit c8194e9

File tree

3 files changed

+27
-5
lines changed

3 files changed

+27
-5
lines changed

frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/AuthnGoogleAuth.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,15 @@ function ConfigureGoogleAuthAuthnProvider({
2828
</Typography.Paragraph>
2929
</section>
3030

31-
<Form.Item label="Domain" name="name" className="field">
31+
<Form.Item
32+
label="Domain"
33+
name="name"
34+
className="field"
35+
tooltip={{
36+
title:
37+
'The email domain for users who should use SSO (e.g., `example.com` for users with `@example.com` emails)',
38+
}}
39+
>
3240
<Input disabled={!isCreate} />
3341
</Form.Item>
3442

frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/AuthnOIDC.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,14 @@ function ConfigureOIDCAuthnProvider({
1616
</Typography.Text>
1717
</section>
1818

19-
<Form.Item label="Domain" name="name">
19+
<Form.Item
20+
label="Domain"
21+
name="name"
22+
tooltip={{
23+
title:
24+
'The email domain for users who should use SSO (e.g., `example.com` for users with `@example.com` emails)',
25+
}}
26+
>
2027
<Input disabled={!isCreate} />
2128
</Form.Item>
2229

frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/AuthnSAML.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,22 @@ function ConfigureSAMLAuthnProvider({
1616
</Typography.Text>
1717
</section>
1818

19-
<Form.Item label="Domain" name="name">
19+
<Form.Item
20+
label="Domain"
21+
name="name"
22+
tooltip={{
23+
title:
24+
'The email domain for users who should use SSO (e.g., `example.com` for users with `@example.com` emails)',
25+
}}
26+
>
2027
<Input disabled={!isCreate} />
2128
</Form.Item>
2229

2330
<Form.Item
2431
label="SAML ACS URL"
2532
name={['samlConfig', 'samlIdp']}
2633
tooltip={{
27-
title: `The entityID of the SAML identity provider. It can typically be found in the EntityID attribute of the EntityDescriptor element in the SAML metadata of the identity provider. Example: <md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" entityID="{samlEntity}">`,
34+
title: `The SSO endpoint of the SAML identity provider. It can typically be found in the SingleSignOnService element in the SAML metadata of the identity provider. Example: <md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="{samlIdp}"/>`,
2835
}}
2936
>
3037
<Input />
@@ -34,7 +41,7 @@ function ConfigureSAMLAuthnProvider({
3441
label="SAML Entity ID"
3542
name={['samlConfig', 'samlEntity']}
3643
tooltip={{
37-
title: `The SSO endpoint of the SAML identity provider. It can typically be found in the SingleSignOnService element in the SAML metadata of the identity provider. Example: <md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="{samlIdp}"/>`,
44+
title: `The entityID of the SAML identity provider. It can typically be found in the EntityID attribute of the EntityDescriptor element in the SAML metadata of the identity provider. Example: <md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" entityID="{samlEntity}">`,
3845
}}
3946
>
4047
<Input />

0 commit comments

Comments
 (0)