Questions tagged [oidc-client-js]

Use oidc-client-js for questions related to the certified OpenID Connect (OIDC) JavaScript library

References

200 questions
1
vote
2 answers

Oidc-client UserManager is not defined error

I'm building an angular 5 application, using Identity Server 3 (Implicit Flow), based off this tutorial: https://www.scottbrady91.com/OpenID-Connect/Silent-Refresh-Refreshing-Access-Tokens-when-using-the-Implicit-Flow (he uses Identity 4) so far…
Paritosh
  • 4,243
  • 7
  • 47
  • 80
1
vote
1 answer

Vue js integration with identity server 4

I am implementing identity server 4 with vue js in client side. Currently, I have only the admin login in the application, with the password and username. I do not have any public site from where the USER get redirected to login. I wanted the user…
Rasik
  • 1,961
  • 3
  • 35
  • 72
1
vote
0 answers

AngualrJS OIDC Client Silent Renew page

I am struggling to understand how this silent renew process works. as per what I Read I understood that the html page will be kept in an iframe and it keeps pinging server for renewing token. I have an angular application, typically we package…
1
vote
2 answers

Why is Firefox logging my user out automatically when using Redix OIDC?

I'm building a React app where I want to authenticate the user using OpenID Connect. In my dev environment the OIDC authority is a locally running instance of Identity Server 4. I found a Github repo which integrates the oidc-client-js library with…
Tom Troughton
  • 3,941
  • 2
  • 37
  • 77
1
vote
1 answer

Oidc-client in Angular2 with hashlocation giving error in redirect_uri

I am following the Authenticating Angular2 with Oidc-client and trying to implement the authentication part. Because the angular2 is using { provide: LocationStrategy, useClass: HashLocationStrategy } my urls will change to for eg:…
Mukil Deepthi
  • 6,072
  • 13
  • 71
  • 156
1
vote
1 answer

oidc-client js failing in Safari / FF

I have an Angular app with the oidc client for authentication and the code works fine with Chrome and Edge but when I try to authenticate using Safari it works after several retries/errors and with Firefox it simply does not work. The error I get is…
Carlos Torrecillas
  • 4,965
  • 7
  • 38
  • 69
1
vote
1 answer

signinSilentCallback with oidc-client getting "user not found in storage"

I'm using oidc-client 1.3.0 with an angular 4 app. The initial authentication (signinRedirect) is working just fine. But, when the token expires it loads the silent-renew.js and attempts to do: Oidc.UserManager().signinSilentCallback(); It gets an…
Michael Witt
  • 1,582
  • 4
  • 22
  • 43
1
vote
0 answers

Immediate redirect to the IdentityServer's login page from a React component

Sample code provided in https://github.com/maxmantz/redux-oidc-example assumes that the user explicitly clicks on some kind of "Login" button to log on with OpenID Connect. This works fine if OpenID Connect is just one of the possible login types…
DmytroL
  • 586
  • 1
  • 3
  • 16
1
vote
1 answer

How to Call oidc-client signinSilentCallback in a ReactJs Component

I need to implement the Slient-Renew Token using oidc-client or redux-oidc - npm node module. I'm using Identity Server Version 3.0 and Javascript ReactJs Client UI Application (Webpack Version 2). I'm having a simple Javascript application download…
1
vote
0 answers

IdentityServer4 with aspnet identity and JavaScript client

I'm trying to implement IdentityServer4. All the clients will be JavaScript app (in react js). My questions are: We will have our custom user database so I'm trying to implement the IS4 with Aspnet identity like the 6th example. But, as my client…
1
vote
0 answers

IdentityServer 3 not validating secret, "invalid_client" response: Implicit flow, revocation endpoint

I'm using oidc-client in my SPA application against IdentityServer3, using implicit flow. Revoking my reference token on sign out is not working. I have set revokeAccessTokenOnSignout: true and client_secret to a dummy secret, and I see the request…
Basya Rosemann
  • 180
  • 2
  • 14
1
vote
1 answer

Is there a client library that implements Hybrid workflow for Node.js for IdentityServer4?

I know that there is a JavaScript client called oidc-client.js for IdentityServer4, but it implements the Implicit flow. I need something that can implement the Hybrid or Hybrid+PKSE flow. First, is there a client library out there that implements…
TheDude
  • 1,421
  • 4
  • 29
  • 54
1
vote
0 answers

Implicit flow silent login from an existing cookie

I'm securing a web app with identity server 4. My app is split into 2 oidc clients an ASP.Net Core MVC client and a javascript(angularjs) client which uses the oidc-client javascript library. When a user first visits the web app we redirect for log…
Mike Anderson
  • 738
  • 1
  • 8
  • 23
0
votes
0 answers

OIDC UserManager method calls in Pina store for Nuxt 3

This is my first Nuxt 3 application. I am using oidc-client-ts for authorization and authentication. First I created this Plugin import { UserManager, WebStorageStateStore } from "oidc-client-ts"; export default defineNuxtPlugin(({ nuxtApp }) => { …
launchCode
  • 23
  • 5
0
votes
1 answer

(oidc-client + React and Typescript) OidcClient.readSigninResponseState: No matching state found in storage

I saw that there are already threads on the subject but they are mostly dead or in any case without any real solution. I'm implementing a react and typescript client, in it I have installed the oidc-client module to be able to communicate with an…