Questions tagged [oidc-client]

49 questions
1
vote
1 answer

OAuth2 Implicit Flow with C# Windows Forms

I'm developing a c# windows forms app that needs to authenticate using the Implicit Flow (The client does not accept another flow). As requirement, I need to open the default system browser to authenticate (so no embedded web view on the…
António
  • 945
  • 1
  • 12
  • 29
1
vote
1 answer

Oidc client js , don't use Date.now in client

I'm using oidc-client-js in my client for one of my SPA projects. I have an identity server which is written in IdentityServer4. If I change date-time of server manually, the oidc-client-js can't validate response of server in log in user, because…
jsDevia
  • 1,133
  • 4
  • 12
  • 33
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
  • 165
  • 2
  • 14
1
vote
1 answer

netstandard sample for authorization code flow with Identitity4 and OidcClient

Is there any netstandard 2.0 sample for authorization code flow with Identitity4 and OidcClient? like SystemBrowser that is only in .net core
1
vote
1 answer

Authorization code flow with Identitity4 and OidcClient

For a Winforms Desktop application I will use the authorization code flow with PKCE. As Identity provider I use IdentityServer and as client library OicdClient. Next step I have to decide which Browser to use for the user…
Mustafa
  • 77
  • 8
1
vote
0 answers

oidc-client - uses own URL for login

I have small vue app that authenticate users with Keycloak backend. I use oidc-client to redirect clients to authentication page. Whenever the login logic triggers, the URL uses client's url and not the authority. (all query params are correct).…
Saturn Technologies
  • 2,653
  • 2
  • 24
  • 41
1
vote
1 answer

ASWebAuthenticatioSession SSO dialog consent issue

When using SFAuthenticationSession or ASWebAuthenticationSession the user is currently prompted to give consent every time the window is presented. At some point the user opts to Sign Out and again is presented with a UIAlert asking their consent to…
1
vote
1 answer

Pass custom parameter to returnurl from angular oidc-client

I'm trying to pass a custom parameter to returnURL used in login page IdentityServer 4 from angular oidc-client. Based on the parameter i receive from the returnURL I want to bypass the login website and redirect them to IDP. I'm intending to add…
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
  • 2
1
vote
1 answer

I'm getting a CORS policy issue when trying to redirect to Azure AD for authentication

I'm getting this error: Access to XMLHttpRequest at 'https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/authorize/.well-known/openid-configuration' from origin 'http://localhost:4200' has been blocked by CORS policy: No…
Richard77
  • 17,505
  • 36
  • 124
  • 222
0
votes
0 answers

Response type is not valid

I am using openidict and oidc-client authentication, services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme) .AddCookie(CookieAuthenticationDefaults.AuthenticationScheme, options => { options.LoginPath =…
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
1 answer

Oidc-client identityserver infinite loop angular 10 app on signin-redirect

I have an angular 10 app running on localhost:4200. In my app-routing.module.ts I have configured root path to load the AdminComponent, so if you hit localhost:4200 it will try to load AdminComponent but before it does; I have a authguardservice…
Tumelo
  • 189
  • 1
  • 14
0
votes
1 answer

Asp.Net Core Web Api and ReactJS: authentication with external login provider without identity

Is there a clear and simple way to use OAuth login providers in a ReactJS and Asp.Net Core Web API project? I am looking for a solution without Identity and Razor pages. Only ReactJS and Asp.Net Core Web API. And do we need the oidc-client library…
0
votes
0 answers

How to use OIDC client in vue3

I am newbee for Vue but comfirtable in angular.I want to integrate oidc-client in Vue3 app. I am refering this https://www.jerriepelser.com/blog/using-auth0-with-vue-oidc-client-js/ but not able to get its hold by using composition API to store the…
Rutu
  • 125
  • 2
  • 10