JSPM

@backstage/plugin-auth-backend-module-okta-provider

0.2.9
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 21325
  • Score
    100M100P100Q165584F
  • License Apache-2.0

The okta-provider backend module for the auth plugin.

Package Exports

  • @backstage/plugin-auth-backend-module-okta-provider
  • @backstage/plugin-auth-backend-module-okta-provider/dist/index.cjs.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@backstage/plugin-auth-backend-module-okta-provider) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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,
    });
  },
});