Questions tagged [oidc-client]

69 questions
0
votes
0 answers

Angular Guard - oidc-client returns null user when url is provided manually

My Angular 11 app uses oidc-client with Implicit flow. I have protected one of my routes (which is supposed to be available only for authenticated users) with guard. It works just fine when I navigate to restricted area (let's say…
Lighthouse
  • 83
  • 1
  • 5
0
votes
1 answer

Using Auth0 with oidc-client and PKCE

I'm using Auth0 with oidc-client (latest 1.10.1). Now what I'm trying to do is to use PKCE flow instead of the implicit one and in AuthModule I have the following config for oidc: NgOidcClientModule.forRoot({ // prettier-ignore …
Sergiu Molnar
  • 865
  • 1
  • 11
  • 22
0
votes
0 answers

IdentityModel Refresh token implementation on UWP

I'm trying to authenticate my UWP app with an ASP.NET Core web API which implemented IdentityServer4. (geant_type is Password) So on the app, I added the nuget IdentityModel 4.3.1 and wrote the following code to get the token and refresh token.…
0
votes
0 answers

oidc-client with Identity Server at a different host domain

It seems keeping all the browsers happy is a challenging task, what with all the security they are adding and the complexities of certificates. I have a SPA (Vuejs) which is using oidc-client.js to implement OIDC, communicating with an Identity…
onefootswill
  • 3,707
  • 6
  • 47
  • 101
0
votes
1 answer

Get client configuration from IdentityServer Angular oidc-client

I have Angular app as a client and I use oidc-client library to provide OpenId Connect protocol. For now, client settings it's just a constant. Does enyone knows how to get client configuration from server using http-get request? When I try to do…
Natalya1
  • 35
  • 1
  • 4
0
votes
0 answers

react oidc-client token timout signinSilent error

I was following the guidelines here to implement oidc-client with react: https://medium.com/@franciscopa91/how-to-implement-oidc-authentication-with-react-context-api-and-react-router-205e13f2d49 I got it working okay. But once I left the site idle…
Fiddle Freak
  • 1,923
  • 5
  • 43
  • 83
0
votes
2 answers

Auth0 with Angular and Oidc-client

I have created a new Angular application and I'm working on login with Auth0 but I encountered an issue with oidc-client by getting this error: main.ts:12 TypeError: clientSettings.userStore is not a function at new OidcService…
Sergiu Molnar
  • 865
  • 1
  • 11
  • 22
-1
votes
1 answer

Angular oidc-client and duende IdentityServer - Problem with authorize on client-site, user unauthorized

I'm learning angular and I find a problem that I didn't see anywhere else. To the point, when I'm trying to login to my client angular app with oidc-client via identityserver, It's working great up to a point. I'm redirecting to a identityserver,…
-1
votes
1 answer

Is the authorization code with pkce default on authcode grant type implementation?

We are using oidc-client. The Client setting grant type is authorization code. However, I found out that my authorization code uses PKCE. Because I can use it without client secret and and has code_challenge on the uri. I'm looking onto it on how it…
1 2 3 4
5