Questions tagged [redux-oidc]

7 questions
4
votes
1 answer

Redux oidc callback called twice

My React container looks like this: class App extends React.Component { componentDidMount() { if (this.props.location && this.props.location.pathname != '/callback') { userManager.getUser().then(response => { …
Dayan
  • 711
  • 5
  • 16
  • 27
2
votes
0 answers

Issue on redux-oidc signoutRedirect

Question / Issue I'm using Identity Server for Single Sign On, my Client application is in ReactJs embedded with Redux. I'm using redux-oidc npm node module to implement the Identity Server functionality as mentioned in…
2
votes
1 answer

using redux-oidc through steam

Now, I use React, then I want to sign in through steam openid with redux-oidc, but it does't work well... I think my oidc client config is not good; const config = { authority: 'http://steamcommunity.com/openid', client_id:…
ukisoft
  • 21
  • 4
0
votes
1 answer

Redux OIDC overriding state for authentication

I am trying to set up redux OIDC to authenticate users then redirect them to the original URL after authentication by passing the original URL path to the state query param on signInRedirect. I cannot pass the pathname to the auth server in the…
ANewms
  • 11
  • 2
0
votes
1 answer

Getting a redux-oidc JavaScript error when I try to navigate to sign in, where would I fix it?

I tried implementing redux-oidc by following the guide on the GitHub page. I am connecting to a IDP server built by me using identity server. I thought everything was set up properly but got the error below. How can I fix this or find the source of…
radulfr
  • 114
  • 3
  • 13
0
votes
1 answer

fire redux action from extraReducers

First, I know (or I think I've read) that you're never supposed to fire actions from reducers. In my situation, I'm using redux-oidc to handle authentication against my app. Once the user is logged in, redux-oidc fires a redux-oidc/USER_FOUND action…
user101289
  • 9,888
  • 15
  • 81
  • 148
0
votes
1 answer

redux-oidc redirect from keycloak - USER_EXPIRED called just before USER_FOUND, causing flashing login screen

I have a login system using redux-oidc, with keycloak as the ID manager. The app's landing page is the login screen. When the user clicks the login button, they are directed to sign in with keycloak. On sign in, they are redirected back to our…
Seth Lutske
  • 9,154
  • 5
  • 29
  • 78