Files
backstage/plugins/auth-backend-module-okta-provider
Patrik Oldsberg d20971d372 Merge pull request #22125 from mprokopowicz/okta-auth-config
auth-backend-module-okta-provider: add "additionalScopes" to config schema
2024-01-21 13:36:23 +01:00
..
2023-11-15 15:20:16 +00:00
2023-11-15 16:03:02 +00:00
2023-11-15 15:20:16 +00:00
2023-11-15 15:20:16 +00:00
2023-11-15 15:20:16 +00:00
2024-01-16 11:44:56 +00:00
2024-01-16 11:44:56 +00:00
2023-11-15 15:20:16 +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,
    });
  },
});