diff --git a/projects/lib/src/oauth-service.ts b/projects/lib/src/oauth-service.ts index 2b9de9dc..c46a0a64 100644 --- a/projects/lib/src/oauth-service.ts +++ b/projects/lib/src/oauth-service.ts @@ -435,7 +435,7 @@ export class OAuthService extends AuthConfig implements OnDestroy { this.grantTypesSupported = doc.grant_types_supported; this.issuer = doc.issuer; this.tokenEndpoint = doc.token_endpoint; - this.userinfoEndpoint = doc.userinfo_endpoint; + this.userinfoEndpoint = doc.userinfo_endpoint || this.userinfoEndpoint; this.jwksUri = doc.jwks_uri; this.sessionCheckIFrameUrl = doc.check_session_iframe || this.sessionCheckIFrameUrl;