Questions tagged [oidc-client-js]

Use oidc-client-js for questions related to the certified OpenID Connect (OIDC) JavaScript library

References

200 questions
1
vote
1 answer

Get Claims in Password Flow as well as Implicit

I have an Angular 9 web application connected via the oidc-client to Identity Server 4 and an API using Implicit flow. When I get the authenticated user I can see several claims I want for the site such as the email address, the user name or the…
1
vote
1 answer

OIDC client JS authentication authorization using react application

I am using the OIDC client to perform the authentication and authorization using react application. I am able to login successful after the login I have a nav menu to display if the user is authenticated or not. export default function NavMenu() { …
San Jaisy
  • 15,327
  • 34
  • 171
  • 290
1
vote
0 answers

OidcClient Error in OfficeJS Excel Integration

I am trying to integrate Login flow with oidc-client in Office JS excel add-in and below are the findings. I could able to integrate as attached below code flow but in that i am getting some issue as attached in screen shot. Kindly review the below…
1
vote
2 answers

oidc-client and Azure AD B2C: Bad Request

oidc-client returns the following error at UserManager.userManager.signinRedirectCallback(): Here is my config: authority: 'https://.b2clogin.com/.onmicrosoft.com//v2.0', client_id: '', …
Maxime Gélinas
  • 2,202
  • 2
  • 18
  • 35
1
vote
2 answers

How to set state to oidc-client-js in aurelia js

I want to add state while initiating login. tried this way : let obj = {state: 'customurl'}; usermanager.signinRedirect(obj); and extracting : usermanager.signinRedirectCallback().then(res => { res.state }); this is returning 'undefined'. please…
1
vote
2 answers

SignIn with oidc-client-js and redirect to another web application

I'm struggling with the authentication process. Not sure if it's well designed. I have an angular app just for the login and registrations of users. In case the user wants to login 1, he fills only an email field and then he will be redirected 2 to…
admir86
  • 368
  • 1
  • 3
  • 13
1
vote
0 answers

Oidc login infinite loop

I'm using Auth0 with Oidc in my Angular app for login. I have the following configurations: auth.module NgOidcClientModule.forRoot({ // prettier-ignore oidc_config: { authority: environment.sts.authority, client_id:…
Sergiu Molnar
  • 865
  • 1
  • 11
  • 22
1
vote
1 answer

Silent Renew using oidc-client in case SameSite=Lax

Chrome plans to implement the new secure-by-default model for cookies with Chrome 80 in February 2020. Now I am testing all our applications that might be affected. For authentication/authorization we use oidc-client (on UI) and IndentityServer on…
Alexander
  • 81
  • 4
1
vote
2 answers

OIDC Client encoding URL during SigninRedirectCallback

I'm building an app with an external Identity Server. Login works fine, only when being sent back to the signin-oidc page something weird happens. I'm using the HashLocationStrategy so the URL looks like…
Inbar Azulay
  • 247
  • 1
  • 4
  • 25
1
vote
0 answers

OIDC client issue in Edge

i am working on react application which uses oidc client library to authenticate users using identity server 4. Authentication is working fine all scenarios except two. When using IE in private mode When using Edge in private mode All other…
1
vote
2 answers

Angular SPA Redirect Login Loop when Third Party Cookies are blocked

I have an Angular SPA using oidc-client w/ IdentityServer4 hosted on two different domains. Users that have blocked third party cookies in their browser settings are getting stuck in an redirect loop. The root of the redirect loop appears to be the…
nelowe
  • 66
  • 1
  • 6
1
vote
1 answer

Silent Refresh - Refreshing Access Tokens when using the Implicit Flow is not working on custom login URL

I'm using IdentityServer4(.NET Core API) and 'oidc-client' in Angular, In which I'm using custom login and logout urls, not default identityserver4 urls, So in this scenario silent-refresh request from 'oidc-client'. it returns 302, Still token is…
Chintan Sukhadiya
  • 329
  • 1
  • 5
  • 10
1
vote
2 answers

Correct way to get a new access token after changing a user's claims in IdentityServer4

I'm using IdentityServer4 with Angular 8 and Web API. When a user registers I log them in automatically using the oidc-client userManager.signinSilent method. I use the same method to update the access token after a user's claims have been updated.…
aic
  • 145
  • 2
  • 13
1
vote
0 answers

Handling silent renew of expired token - oidc code flow- in angular 7?

How to handle access token expiration in angular application that uses oidc code flow? I set the automaticSilentRenew to true in oidc client settings, which is triggering a call to the token endpoint and getting new access token, then I listen to…
tlr_k
  • 11
  • 3
1
vote
1 answer

Silent Authentication using Identity Server

I’m building an SPA app, and am using IdentityServer4 for the authentication. I’m using the new api authorization template found in .net core 3.0 for angular. The template tries to authenticate first using an iFrame, if it fails it tries using a…