jeroenheijmans / sample-angular-oauth2-oidc-with-auth-guards

Basic example of how to integrate the angular-oauth2-oidc library in an Angular SPA utilizing AuthGuards.
MIT License
257 stars 113 forks source link

Keep sending id_token as auth bearer #134

Closed Tumerskiy closed 1 year ago

Tumerskiy commented 1 year ago

Hi, Integration is with AzureAD using authcode flow. Having sendAccessToken: true in module config, app keep sending id_token instead of access_token as auth bearer.

Angular version: 14.2 angular-oauth2-oidc: 14.0.1

The only option left seems to be writing a custom interceptor.

Tumerskiy commented 1 year ago

False alarm here, it appeared to be a result of custom interceptor behaviour.