Files
backstage/plugins/auth-backend-module-okta-provider
github-actions[bot] 46046059b4 Version Packages (next)
2024-04-23 14:53:09 +00:00
..
2023-11-15 16:03:02 +00:00
2024-04-23 14:53:09 +00:00
2024-02-12 11:06:30 +01:00
2024-04-23 14:53:09 +00:00

Auth Module: Okta Provider

This module provides an Okta auth provider implementation for @backstage/plugin-auth-backend.

Utilization

This module is used in auth-backend/src/providers/okta

import { oktaAuthenticator } from '@backstage/plugin-auth-backend-module-okta-provider';

export const okta = createAuthProviderIntegration({
  create({
    authHandler?: AuthHandler<OAuthResult>,

    signIn?: {
      resolver: SignInResolver<OAuthResult>,
    },
  }) {
    return createOAuthProviderFactory({
      authenticator: oktaAuthenticator,
    });
  },
});