@ngriffin_uk/auth-provider-keycloak
v4.0.0
Published
keycloak authentication provider for @ngriffin_uk/auth-core
Readme
@ngriffin_uk/auth-provider-keycloak
Keycloak OAuth/OIDC middleware for auth-core.
pnpm add @ngriffin_uk/auth-core @ngriffin_uk/auth-provider-keycloakimport { createKeyCloakAuth } from "@ngriffin_uk/auth-provider-keycloak";
const auth = baseAuth.use(
createKeyCloakAuth("https://identity.example.com/realms/example", {
clientId,
clientSecret,
redirectUri,
stateStore,
resolveIdentity,
})
);Pass the complete HTTPS realm URL.
