Timeline for How to keep user logged in when using OpenID Connect & Cookies in dotnet core?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 17, 2019 at 7:25 | comment | added | Ewan | as in my example code above, but also add the refresh token | |
Jul 17, 2019 at 7:03 | comment | added | Hamza | how do you suggest I do that? | |
Jul 17, 2019 at 7:00 | comment | added | Ewan | if you save the refresh token to a cookie you can have the openid auth read it so it can get a new token as required | |
Jul 17, 2019 at 6:49 | comment | added | Hamza | I solved the problem by using an "IsPersistent" property in the authentication challenge. However, the login session only lasts for the duration of the id_token. Which is an hour, how do I make the application ask for a new token using the refresh token? | |
Jul 15, 2019 at 14:35 | history | edited | Robert Harvey | CC BY-SA 4.0 |
deleted 15 characters in body
|
Jul 15, 2019 at 14:07 | history | answered | Ewan | CC BY-SA 4.0 |