Skip to content

Commit 2802bc0

Browse files
Merge pull request #1020 from BobCui20/master
Use configured revocationEndpoint by default
2 parents d957fc4 + 0eb11cc commit 2802bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/lib/src/oauth-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
544544

545545
this.discoveryDocumentLoaded = true;
546546
this.discoveryDocumentLoadedSubject.next(doc);
547-
this.revocationEndpoint = doc.revocation_endpoint;
547+
this.revocationEndpoint = doc.revocation_endpoint || this.revocationEndpoint;
548548

549549
if (this.sessionChecksEnabled) {
550550
this.restartSessionChecksIfStillLoggedIn();

0 commit comments

Comments
 (0)