Questions tagged [oidc-client]

69 questions
0
votes
0 answers

Integrating Keycloak with React using OIDC-Client and encountering a 404 error upon login page. What am I missing in the server portal configuration?

oidc-client 404 page not found i was try to integrate keycloack react using oidc-client library , the code below is my configuration with oidc-client const settings = { authority: "http://localhost:8080/auth/realms/master", client_id:…
0
votes
1 answer

FaultTollerance Retry for OidcClientRequestReactiveFilter plu doesn't work

I have a code for JAX-RS with the OidcClient provider. @RegisterRestClient(configKey = "acs") @RegisterProvider(OidcClientRequestReactiveFilter.class) public interface Test { @GET @Timeout @Retry @Path("/some-cool_path") String…
Irina
  • 939
  • 1
  • 8
  • 26
0
votes
0 answers

How a SPA with oidc-client could send token to external web api project

I am developing a SPA entirely in node.js/react that talks to an external identity server instance (we don't manage it) using the oidc-client module. As for the client SPA itself, I was able to manage the login and logout phases. This SPA, however,…
0
votes
2 answers

Oidc Client sign in as different user

We are using oidc-client package for login using IdP. This is working fine. But now our requirement is to sign in to a different user, without interfering with an existing user. At a high level, our workflow would be Login to the application using…
Abhishek
  • 621
  • 1
  • 8
  • 19
0
votes
1 answer

Encode my access token (JWT) with my own key value pair - Android

I am using a third-party identity provider (Ping Identity). I have configured the client_id, redirect_uri and discovery_uri in my OpenID connect client library (https://github.com/openid/AppAuth-Android). I was able to successfully log in and got…
Racer
  • 152
  • 1
  • 9
0
votes
1 answer

Identity Server 4 AuthorizationContext.PromptModes empty

I am using the oidc-client library to authorize with our own Identity Server 4. It is working fine and I need to extend the login functionality. I'd like to use the OIDC-Parameter "prompt". The parameter is sent correctly to the connect/authorize…
Weissvonnix
  • 731
  • 7
  • 23
0
votes
1 answer

Logging out from IdentityServer does not close the webview popup

I have used IdentityModel.OidcClient with a UWP app and connected to Azure AD. Login webview opens and automatically closes but the logout popup does not automatically close. My implementation is based on this. When logout happens the final function…
0
votes
1 answer

OIDCClient "The specified protocol is unknown" exception in UWP when connecting to Azure AD

UWP app connecting to Azure AD via IdentityModel.OidcClient generates an error as below. Exception Message = "The specified protocol is unknown. (Exception from HRESULT: 0x800C000D)" Noting important in Stack Trace! Exception happens inside public…
0
votes
1 answer

oidc-client return false at first try in angular component

I develop angular application and I use oauth for authentication. I install oidc-client npm packages. and all aspects work fine. but there is a bit mistake with ngoninit method. here is my code: ngOnInit() { this.subscription =…
pandanet
  • 53
  • 9
0
votes
0 answers

Angular + Azure: The refresh token has expired due to maximum lifetime

our refresh token max lifetime is set to 24 hours. After 24 hours of inactivity the user should be asked to login into his microsoft account again. In oidc settings we have automaticSilentRenew property set to true. For every 1 hour a request to…
Krishna Chaitanya
  • 2,533
  • 4
  • 40
  • 74
0
votes
1 answer

Is it possible to get code_verifier in IdentityModel.OidcClient?

IdentityModel.OidcClient sends the request with the code_challenge already generated. I am testing the flow on postman to get the token after getting the auth code but I need the code_verifier, is it possible to get the code_verifier oidcclient used…
Sergio Solorzano
  • 476
  • 9
  • 29
0
votes
1 answer

angular+oidc-client: getUser() always returns null

I am using oidc-client in my angular project. I have written the below code in app.component.ts to redirect user to home page if user object is not null. But the user object is always null even after successful login. I am using microsoft azure to…
Krishna Chaitanya
  • 2,533
  • 4
  • 40
  • 74
0
votes
1 answer

How can I use IdentityModel.OidcClient in a c# webapi to verify and validate token generated from active directory service supporting openid connect?

I have a webapi in c# and a frontend angular application. The angular application is making calls to active directory services such as azure ad, to get the access token. While on subsequent webapi calls the web api application needs to validate the…
debanka
  • 187
  • 1
  • 4
  • 13
0
votes
1 answer

SSO not working for IdentityModel.OidcClient

I am adding OIDC login to a WinForms application. I set up the application using the IdentityModel.OidcClient library and pulled the boilerplace code from their WinForm Sample. The OIDC successfully shows the login form, does MFA, and I get back the…
0
votes
0 answers

IdentityModel.OidcClient RefreshTokenDelegatingHander

I'm trying to use RefreshTokenDelegatingHander but couldn't find any proper way or sample yet with Xamarin.forms. Has any one got any success? Here is what i tried: var options = new OidcClientOptions { Browser =…
SoftSan
  • 2,482
  • 3
  • 23
  • 54