Files
backstage/plugins/auth-backend-module-okta-provider
Patrik Oldsberg 08aea95c7e Validate that Okta audience config is an absolute URL
Add a check in the Okta auth provider initialization that ensures
the provided audience is an absolute URL with an http(s) scheme,
and throws a descriptive error if not.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-12 22:42:21 +01:00
..
2026-01-27 15:51:11 +00:00
2026-02-03 14:24:29 +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,
    });
  },
});