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
0 answers

ValidateAntiForgeryToken blocking new login

I have an identity server 4 implementation very simple and I'm using the oidc-client on my angular APP to carry on all the security management. In my auth service I have the following: @Injectable() export class AuthService { private manager:…
Carlos Torrecillas
  • 4,965
  • 7
  • 38
  • 69
0
votes
1 answer

Azure Active Directory Implicit flow- Restrict users who can log in

I have implemented the aad implicit flow for web app. I want to restrict users who can log in to the web app. I created a user group and added that in Users and Groups option. I enabled the user assignment required option. The problem is when I…
0
votes
1 answer

oidc-client-js re-authentication for sensitive data

I'm using the oidc-client-js library to handle OIDC redirect SSO style authentication against our IdentityServer4 implementation from an angular app. The IdToken/Cookie in the app is good for a 1+ days. The access token lifetime is shorter and…
gilm0079
  • 595
  • 1
  • 4
  • 18
0
votes
1 answer

Multi-tenancy with and IdentityServer 4 and Angular with oidc-client

We are developing a multi-tenanted application using Angular 6. Each tenant accesses the application using their sub-domains, say, client1.app.com, client2.app.com etc. For authentication purposes, we are using IdentityServer 4. We have followed…
Sushil
  • 295
  • 1
  • 2
  • 12
0
votes
2 answers

IdentityServer userinfo endpoint not requested after silent renew

we currently facing the problem, that the silent renew is going to not working after about 30min. We were able to determine that the SubjectId is missing on IS4. When looking into the network tab in chrome for the client requests, the following…
0
votes
2 answers

How to set 'redirect_uri' for Identity Server 4 in a React JS app and point to one of the views using route?

I followed this - http://docs.identityserver.io/en/release/quickstarts/7_javascript_client.html. Using the following configuration, I tried to login Identity Server from my ReactJS app. http://localhost:3000/callback.html is loaded after successful…
MAK
  • 1,915
  • 4
  • 20
  • 44
0
votes
0 answers

Load website using iframe

We have a mvc website embeded into an angular application using iframe. This used to work fine as both of these applications are hosted in same domain and works on cookie based authentication mechanism. But we recently needed to change…
hashbytes
  • 769
  • 1
  • 8
  • 26
0
votes
1 answer

How to redirect in the events.addUserLoaded Angular 6

I'm using the oidc-client library. After the Login, in the call back I call signinRedirectCallback(), but the User is not immediately loaded and I cannot redirect to the Protected page until is loaded. I tried to add…
user9673479
0
votes
2 answers

onelogin OIDC token refresh in react

I've been trying with little success to implement the token refresh using the oidc-client library. Any help or insight is greatly appreciated. Stack: React GraphQL (Apollo Client) Structure: I've tried a few approaches, starting with…
jsw324
  • 812
  • 7
  • 14
0
votes
1 answer

Angular - oidc-client sends an /authorize request for each REST API call

I am currently setting up an identity server with a SPA client and a few REST services to consume data from. Everything seems to work but I currently struggle to understand, why every API call with a valid access_token triggers a request to the…
0
votes
0 answers

How to determine identity token expiration in oidc-client

I am working with Identity Server 3 on the service and oidc-client.js in my front end. The client setup in Identity Server does not set the token lifetime options, so should have the default values of 300s (5min) for the identity token lifetime and…
Zoe
  • 856
  • 1
  • 9
  • 22
0
votes
1 answer

Trying to add IdentityServer4 as identity authority for a Javascript application with custom user store

I've followed the IdentityServer4 documentation to create a basic local implementation using the default test configuration (with in-memory clients and users). At this point IS4 is initialized as follows: services.AddIdentityServer() …
Tom Troughton
  • 3,941
  • 2
  • 37
  • 77
0
votes
1 answer

Identity service 4 auto token refresh

I am using identity server 4 with the oidc-client library in an angular 2 web page. The login, logout calls and api calls are all working correctly without any issues. I have recently started trying to get the token auto refresh functionality to…
macawman
  • 45
  • 6
0
votes
1 answer

javascript nested async calls

My script has a function that login the user as follows: class myClient { SignIn() { this._userManager.signinRedirect(); this._userManager.processSigninResponse().then(function (response) { …
alessalessio
  • 1,224
  • 1
  • 15
  • 28
0
votes
1 answer

Swapping an external identity provider token with internal identity provider token using OIDC Client and IdentityServer4

In a SPA environment using IdentityServer4 and OIDC-Client, what's the most secure approach to do the following with multiple external providers? Essentially, if a user logs in with Google I need to log into my internal system and create new claims.…
szahn
  • 183
  • 1
  • 3
  • 11
1 2 3
13
14