Questions tagged [oidc-client-js]

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

References

200 questions
0
votes
1 answer

ID4 ADFS 3.0 and oidc-client (vue spa) - Callback implementation

To add ADFS 3.0 authentication in our SPA we use the javascript sample and one (wsfed) external identityprovider, and we also add a local api for the SPA client We also added a custom view to the login process, where the user could "Select…
Larsi
  • 4,654
  • 7
  • 46
  • 75
0
votes
3 answers

What is Code Сhallenge in query param in authorization server like IdentityServer (from JS SPA client pov)?

When I do manual redirect, I'm getting an error from IdentityServer invalid_request, code challenge required However when I use oidc-client-js library for the same authorization request, I do not get that error. Library somehow sets code…
Green
  • 28,742
  • 61
  • 158
  • 247
0
votes
1 answer

Azure B2C with oidc-client-js receiving "Error: Invalid issuer in token"

I am trying to set up OIDC authentication with the oidc-client-js in a React web application and authenticate against Azure B2C. After completing the sign-in I get this error: Problem with authentication endpoint: Error: Invalid issuer in token:…
Eli Pulsifer
  • 713
  • 9
  • 25
0
votes
1 answer

Using IdentityServer4 with Google as an external IdP, how to detect when user signs out of Google directly?

I've got IdentityServer4 running with Google as a 3rd party identity provider. When a user logs in to IdentityServer via Google, how can I make IdentityServer detect, or otherwise get alerted, when the user logs out of Google directly? To be clear,…
pdpc
  • 131
  • 3
  • 7
0
votes
0 answers

Building an STS with IdentityServer4, providing JWT tokens to an AngularJS client, protecting a .NET API; why does authorize fail?

So, I'm building a new security token service that is replacing an old solution based on IdentityServer3. I wish to authenticate with PKCE flow, and so far I've configured the new service with a certificate, identity resources, a test user, an API…
haugan
  • 385
  • 4
  • 12
0
votes
1 answer

sign in problem asp.net core 3 react identity server at /authentication/login-callback

I just started a project using dot net core 3 react with individual user account template. also made a self sign certificate *.pfx file and uploaded to server. the problem is when I try to signing in after…
0
votes
0 answers

angular oidc - error when calling signinRedirect

Checking with the most awesome community too! I've posted my issue here - https://github.com/IdentityModel/oidc-client-js/issues/910. Can anyone help me, please? Kindly let me know if you need more information :pray
scorpion35
  • 944
  • 2
  • 12
  • 30
0
votes
0 answers

oidc-client frame error when manually calling signingSilent

A bit of a strange one. On my Angular app, I have a refreshUser method to get the possibly logged in user loaded before displaying all the screen data. To do so I have the following ngOnInit method: async ngOnInit() { await…
0
votes
0 answers

How to refresh access token? (react app + asp.net identity server)

I need to change the token on the client when changing user data on the server. For example, after changing some data on the server, I do a re-login. I see these changes, but the web application does not update this data automatically, that is, to…
0
votes
0 answers

Angular7 oidc integration with Identityserver4

I have an angular7 application with asp.net core 2.2 and an Identity server 4 for authentication and authorization. I am trying to do hybrid or implicit grant type to authenticate our angular application. Asp.net core is bootstraping our angular7…
0
votes
1 answer

How to unit test a function with a dependency (angular)

I'm new to unit testing and have some got basics down. However, I'm trying to test a method. This method calls a function which is part of the oidc-client.js. It basically signs a user in. spec file import { async, ComponentFixture, TestBed }…
0
votes
1 answer

Identity Server empty cookies on production

I've an Identity Server 4 app with Angular client using oidc-client. The problem is that in production the method addUserSignedOut doesn't stop to get called after I login in the client. I test it locally and works fine. I think the problem could be…
leobelizquierdo
  • 1,648
  • 12
  • 20
0
votes
1 answer

Integrate third party login in from my registration page with IdentityServer4 and Angular 6 - 'No matching state found in storage'

I'm trying to implement a third-party auth in my sign up page, but I can't get it to work with IdentityServer4. I have it working in my login page since the oidc client is initiating the login request. However the oidc client is not aware of a…
daniekpo
  • 157
  • 3
  • 9
0
votes
1 answer

Failed to validate Access Token with oidc-client-js and Apereo CAS

I'm trying to login with Apereo CAS 5.1.1 in my react application using OIDC. Looking for libraries to achieve this, I landed on oidc-client-js 1.7.0, but I'm encountering the following error: ResponseValidator._validateAccessToken: Failed to…
Carloso
  • 135
  • 1
  • 10
0
votes
1 answer

how to redirect after authentication using oidc client in react app

I am trying to do authentication using identity server 4 for my react app.i followed this documentation.I am using implicit flow of identity server so onload application it will go to login page of identity server. after giving proper username and…
ebk
  • 305
  • 8
  • 20