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

How do I debug a node_module inside my angular application?

I have a angular9 ClientApp. I have a asp.net core webapi & IdentityServer4 for the backend. I imported oidc-client in my ClientApp. When I call userManager.signinSilent my app is being redirected…
lightbulb112
  • 123
  • 1
  • 9
0
votes
2 answers

Angular SPA with identity server and oidc-client-js: is there a pattern to trigger login when the application starts (without using a login button)?

I'm working with an angular 8 SPA, and I'm trying to use the oidc-client-js library to handle the user authentication. The identity provider is implemented by using identity server 4. Our desired user experience is the following: when the SPA is…
Enrico Massone
  • 6,464
  • 1
  • 28
  • 56
0
votes
1 answer

User not found in SigninRedirectCallback Oidc-Client

We have been using Oidc-Client js for SPA application.Below are the clarifications. We were able to implement signinRedirect but not sure how to implement and handle signinRedirectCallback method to get user and token responses. Hence kindly…
0
votes
0 answers

No state in response in signinRedirectCallback using Oidc-Client.js

We are using Oidc-Client authentication flow in Single page application and below are the clarifications. Kindly help on same. Current Scenario : In Login screen, when signinRedirect method called then it is hitting IDSRV and token got…
0
votes
2 answers

How to get expiration time for silent token in Oidc-Client

I have SPA developed application on which I used to implement Oidc-Client for OAUTH authentication and below are the clarifications. How to configure silent-refresh page with web pack config file in angular structure based project since…
0
votes
0 answers

How to configure Silent Renew Url in Web pack config

I have developed typescript based SPA application (html,css,js) and have implemented authentication using Oidc-Client library. Current Scenario : I was able to login and get access token successfully. Once it is timed out then it is not hitting…
chennaiyan
  • 69
  • 1
  • 6
0
votes
1 answer

How to embed oidc-client login/login redirect in IFrame hosted in Reactjs client

I'm trying to work on a proof-of-concept to show that the redirect to IdentityServer4 can be displayed in a Reactjs app using an IFrame. I realize there are security issues with this approach, like cross-site scripting, but again, this is a POC…
cminus
  • 1,163
  • 12
  • 25
0
votes
1 answer

Silent Redirect uri not being called using oidc-client

We tried to renew token silently (refresh token) using Oidc-Client library. We were able to login successfully. But once user's token expired silent callback page not being called even it is configured like below. Kindly help if anything missing or…
0
votes
1 answer

IdentityServer4 Windows Authentication Missing Callback implementation

The documentation to setup Windows Authentication is here: https://docs.identityserver.io/en/latest/topics/windows.html But I have no idea how to configure the Callback() method referred to in the line RedirectUri = Url.Action("Callback"), or…
0
votes
1 answer

Error: No state in response using oidc-client-js

Good evening, Im developing a web app in react where i wanted to use oidc-client-js to make authentication. However,when i run this code below: const userManager = new UserManager({ authority:…
0
votes
1 answer

Claims on Server and on Client do not match

With IdentityServer 4 v4.0 and Asp.Net Core Identity 3.1 I get the claims after login: sub: 1 http://schemas.microsoft.com/ws/2008/06/identity/claims/role: Admin preferred_username: john@domain.com name: john@domain.com email:…
0
votes
1 answer

Integrate Salesforce registration page with VanillaJS oidc-client-js, getting the error - No matching state found in storage

Integrate Salesforce registration page with VanillaJS, getting the error - No matching state found in storage We are redirecting the user to Salesforce registration page when Create Account button is created. Once the User registers in Salesforce,…
Nishant
  • 466
  • 2
  • 15
0
votes
1 answer

Login not working if using hash in angular website and Identity Server 4

Below error I get using hash Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'auth-callback/id_token' Things are working fine without hash After login it tries to read for id_token but it do not gets it since now the url…
0
votes
1 answer

Silent renew infinite looping in Vue application

I have a Vue application within which I am trying to set up silent token renewal. My Oidc configuration looks like the below: var mgr = new Oidc.UserManager({ authority: process.env.VUE_APP_IDENTITY_URL, client_id:…
0
votes
2 answers

How to add an 'aud' claim to access_token

I'm new to IdentityServer 4 and OpenIdConnect, trying to get my Asp.NET Core + Angular 9 SPA app to work with JwtBearer tokens, and the problem is what I cannot set my access_token's 'aud' claim properly, I'm getting 401 with message: Bearer…