Files
backstage/plugins/auth-backend-module-okta-provider
github-actions[bot] 549edc389e Version Packages (next)
2025-02-11 15:39:12 +00:00
..
2025-02-11 15:39:12 +00:00
2024-02-12 11:06:30 +01:00
2025-02-11 15:39:12 +00:00
2024-10-14 17:56:00 +02: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,
    });
  },
});