Repository navigation
Replies: 1 comment
|
Ok here is a small example of how to add a profile route to the example app. Use IDtoken as a bearer token. Token refresh is already presented in the example app. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone. I've just tested the example app (https://github.com/dexidp/dex/tree/master/examples/example-app) works perfectly.
But now I am a bit confused.
Which data should be persistent between visits of protected pages? It looks like a pair of access + refresh tokens.
Then question which actions I should perform in the middleware? How to verify access token and in case of expiration - refresh it.
Many thanks in advance. Would be really good to add some cookies stuff and some protected page with implied middleware to the example app.
Thanks for the Dex!
All reactions