diff --git a/.changeset/violet-bobcats-sin.md b/.changeset/violet-bobcats-sin.md new file mode 100644 index 0000000000..577ecab8fc --- /dev/null +++ b/.changeset/violet-bobcats-sin.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-auth-backend': patch +--- + +expose verifyNonce and readState publicly from auth-backend diff --git a/plugins/auth-backend/src/lib/oauth/index.ts b/plugins/auth-backend/src/lib/oauth/index.ts index bf3e0658e4..6bbe017eb3 100644 --- a/plugins/auth-backend/src/lib/oauth/index.ts +++ b/plugins/auth-backend/src/lib/oauth/index.ts @@ -16,7 +16,7 @@ export { OAuthEnvironmentHandler } from './OAuthEnvironmentHandler'; export { OAuthAdapter } from './OAuthAdapter'; -export { encodeState } from './helpers'; +export { encodeState, verifyNonce, readState } from './helpers'; export type { OAuthHandlers, OAuthProviderInfo,