oidc-client

IdentityServer External auth provider - auth-callback - Redirection - 400 Bad request

爷,独闯天下 提交于 2021-02-17 19:20:50
问题 I am following https://www.scottbrady91.com/Angular/SPA-Authentiction-using-OpenID-Connect-Angular-CLI-and-oidc-client and https://www.scottbrady91.com/Angular/Migrating-oidc-client-js-to-use-the-OpenID-Connect-Authorization-Code-Flow-and-PKCE to implement OIDC in SPA(Angular) I am using aspboilerplate integrated IdentityServer I've set up everything as per the above articles and I was able to navigate to external auth provider and was also able to enter the required credentials. While

IdentityServer External auth provider - auth-callback - Redirection - 400 Bad request

让人想犯罪 __ 提交于 2021-02-17 19:20:29
问题 I am following https://www.scottbrady91.com/Angular/SPA-Authentiction-using-OpenID-Connect-Angular-CLI-and-oidc-client and https://www.scottbrady91.com/Angular/Migrating-oidc-client-js-to-use-the-OpenID-Connect-Authorization-Code-Flow-and-PKCE to implement OIDC in SPA(Angular) I am using aspboilerplate integrated IdentityServer I've set up everything as per the above articles and I was able to navigate to external auth provider and was also able to enter the required credentials. While

Angular application can't redirect after OAuth2 login when using HashLocationStrategy

痴心易碎 提交于 2021-01-03 06:38:24
问题 I am working on an existing, in-production Angular 7 application. My task is migrate from a local authentication scheme to an existing company-wide identity provider. The identity provider is compliant with OAuth2. I am using the oidc-client library to try and accomplish this. The Angular app is using HashLocationStrategy, and I am fairly certain this requirement cannot change . I was not the original author of this app, so I don’t know the exact reasoning for choosing HashLocationStrategy

Azure AD B2C: Clients must send a client_secret when redeeming a confidential grant

生来就可爱ヽ(ⅴ<●) 提交于 2020-06-17 14:15:57
问题 I try to setup authentification for an Angular app using authorization code and Azure AD B2C (oidc-client on client side), but I'm getting these errors from Angular: After looking in B2C audit logs, I found this error message: Clients must send a client_secret when redeeming a confidential grant. Here's my client side configuration: const settings = { stsAuthority: 'https://supportodqqcdev.b2clogin.com/supportodqqcDev.onmicrosoft.com/v2.0/.well-known/openid-configuration?p=B2C_1