Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fleet UI: Fix learn more about JIT provisioning link #24092

Merged
merged 2 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/23749-fix-learn-more-link
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fleet UI: Fix learn more about JIT provisioning link
20 changes: 12 additions & 8 deletions frontend/pages/admin/OrgSettingsPage/cards/Sso/Sso.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import InputField from "components/forms/fields/InputField";
import validUrl from "components/forms/validators/valid_url";
import SectionHeader from "components/SectionHeader";

import { LEARN_MORE_ABOUT_BASE_LINK } from "utilities/constants";
import { IAppConfigFormProps, IFormField } from "../constants";

const baseClass = "app-config-form";
Expand Down Expand Up @@ -209,15 +210,18 @@ const Sso = ({
name="enableJitProvisioning"
value={enableJitProvisioning}
parseTarget
helpText={
<>
<CustomLink
url={`${LEARN_MORE_ABOUT_BASE_LINK}/just-in-time-provisioning`}
text="Learn more"
newTab
/>{" "}
about just-in-time (JIT) user provisioning.
</>
}
>
<>
Create user and sync permissions on login{" "}
<CustomLink
url="https://fleetdm.com/learn-more-about/just-in-time-provisioning"
text="Learn more"
newTab
/>
</>
Create user and sync permissions on login
</Checkbox>
)}
<Button
Expand Down
Loading