Comments (6)
I'm still struggling creating an app from this sample. How about creating a branch to demonstrate how to implement this for React 16? Related question: https://www.reddit.com/r/reactjs/comments/7bo3j0/react_v16_with_redux_oidc_and_router/
from redux-oidc-example.
having a similar issue the blocker I'm having issues with is that after the callback it is changing the url but not rerendering
from redux-oidc-example.
@maxmantz what is the expected manner in which we allow OIDC to log users out when there session has failed to renew or they sign out... trying to get this working with connected-react-router, react-router-dom, react-router, redux, react-redux and this seems to be my last hang up if i can get this ressolved happy to make a pull request with an updated example.
from redux-oidc-example.
I'm now taking up my pet project again, and revisited this issue after doing some recap. Have you found a way around this issue, @AnthonyCrowcroft?
from redux-oidc-example.
The choice of routing library is secondary to the problem faced when implementing this library.
The steps needed to successfully implement OIDC with this libary are as follows:
- register a route (e.g.
/callback
) with the router to allow the reception of the token to your app, - optional but strongly recommended: generate a second HTML file for the silent renewal of tokens
I understand that the process of implementing this can be tricky, especially when dealing with different routing libraries or different versions of the same library. I will happily accept a PR for the example app which demonstrates using react-router-dom. I will also happily link to any examples repos you guys can give me regarding this.
from redux-oidc-example.
I implemented the logic suggested in the sample app and also registered the callback path with the router but i keep on getting the following error during callback:
HTTP Error 405.0 - Method Not Allowed
The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.
Module | StaticFileModule
ExecuteRequestHandler
StaticFile
Requested URL | https://localhost:5001/index.html
Anyone have any ideas on how to fix this issue?
from redux-oidc-example.
Related Issues (20)
- Getting the id_token instead of the access_token HOT 1
- Initial call to loadUser() HOT 1
- Missing File? HOT 2
- checkSession begin run hundreds of times per second
- TypeScript HOT 1
- Firefox signing user out after a few seconds without warning HOT 1
- open any link in new tab on same browser ,i can't get user Data HOT 4
- Dynamically load the UserManagerSettings HOT 1
- [Question] Silent Renew File Pattern HOT 1
- Error when loading silent_renew.html HOT 1
- Authenticate on all routes - Question
- It does not autorenew token after 1 hour of inactivity HOT 2
- Sign in with Google temporarily disabled for this app
- Does redux-oidc works with webpack 5, can anyone confirm on that? HOT 1
- Passing configuration to UserManager
- npm run dev error
- Google: "This app is blocked"
- Google OAuth: Refresh token not present in token response HOT 1
- For expo managed react native app - can we use redux-oidc for login authentication ??? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redux-oidc-example.