For using this library withAzure Active Directory(Azure AD), we recommend an additional look to thisblog postand the example linked at the end of this blog post. Also, the Okta community created some guidelines
Basic example of how to integrate the angular-oauth2-oidc library in an Angular SPA utilizing AuthGuards. - jeroenheijmans/sample-angular-oauth2-oidc-with-auth-guards
For using this library with Azure Active Directory (Azure AD), we recommend an additional look to this blog post and the example linked at the end of this blog post. Also, the Okta community created some guidelines on how to use this lib with Okta. See the links at the end of this ...
Code Flow without Discovery Example? I am using Angular 11 and angular-oauth2-oidc to try to utilize a Code Flow with PKCE on AWS Cognito. It seems that AWS Cognito errors out on the discovery document due to CORS and based on other issues reported here, it seems that changing the heade...
For example, add (global as any).Document = (global as any).Document || {}; at the beginning of your main.server.ts. Be careful to add this in a file that is included only on the server. I have also added a PR for this #853. obviously not a long term fix, but this work...
You would not want to clear it out when you are having a successful return from the auth server for example. bjornharvold commented Jan 27, 2022 However... @mlbiche's solution works just fine when you remove the storage items after having called loadDiscoveryDocumentAndTryLogin() and the...
Using Angular 6.0.3, I am attempting to using this module but keep running into this error. Not sure how to resolve this after about 4 hours of research. Using the Tour of Heroes example from the Angular.io website app.module.ts import {...
PKCE and offline-access The readme give an example off PKCE but it uses refresh tokens which is not recommend for web apps. It is also missing useSilentRefresh:true and this.oauthService.setupAutomaticSilentRefresh(); Both senarios work ...