-
Notifications
You must be signed in to change notification settings - Fork 139
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
Test SAML integration #645
Comments
Currently SAML is not supported in the showcase because the showcase does not have the SAML auth provider setup. We also currently don't have a specific sign-in page for SAML yet, which would require a custom apiRef and sign-in configuration like the following: {
id: 'saml-auth-provider',
title: 'SAML',
message: 'Sign in using SAML',
apiRef: samlAuthApiRef,
}, export const samlAuthApiRef: ApiRef<
OAuthApi &
OpenIdConnectApi &
ProfileInfoApi &
BackstageIdentityApi &
SessionApi
> = createApiRef({
id: 'internal.auth.saml',
}); Then we would register the API similar to how @schultzp2020 registered the OIDC apiRef in #602 in // SAML
export const apis: AnyApiFactory[] = [
...
createApiFactory({
api: samlAuthApiRef,
deps: {
discoveryApi: discoveryApiRef,
oauthRequestApi: oauthRequestApiRef,
configApi: configApiRef,
},
factory: ({ discoveryApi, oauthRequestApi, configApi }) =>
OAuth2.create({
discoveryApi,
oauthRequestApi,
provider: {
id: 'saml',
title: 'SAML',
icon: () => null,
},
environment: configApi.getOptionalString('auth.environment'),
}),
}),
]; The users would then need to also configure the |
@christophe-f @Zaperex I will add |
Verified and the SAML sign-in works as expected. |
What needs to be done?
Test that Showcase is working with SAML
https://github.com/backstage/backstage/blob/b1f4c99f79f2640ae3f12139923850c47f61aa4c/plugins/auth-backend/scripts/start-saml-idp.sh
The text was updated successfully, but these errors were encountered: