Refresh token flow in ASP.NET Core MVC environment
See original GitHub issueConfirm you’ve already contributed to this project or that you sponsor it
- I confirm I’m a sponsor or a contributor
Version
3.x
Question
Hi, Kévin!
-
Could you provide some sample(-s) where refreshing tokens is implemented for MVC with cookie authentication scheme? If not, could you give us some ideas how it could be implemented? I found this one, but it looks so tricky that I can’t believe this couldn’t be reached in a more simple and native way.
-
Current behavior of a silent re-authentication not fully transparent for me. How does it happen? I see, that if the cookie expires re-authentication is triggered, goes silently (prompt=none?) and lands me on the main page with no respect to the page I came from. Is that alternate to refresh token flow? If so, can we configure it to use some
return_url
for a seamless UX?
Issue Analytics
- State:
- Created a year ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Use Refresh Tokens in ASP.NET Core Apps
Learn how refresh tokens help you achieve this balance by exploring how to manage them in an ASP.NET Core application that calls an...
Read more >JWT Authentication With Refresh Tokens In .NET 6.0
Refresh tokens are the kind of tokens that can be used to get new access tokens. When the access tokens expire, we can...
Read more >Refresh JWT Token with ASP.NET (Core) (C#)
Refresh Token Flow during Login This flow can be placed before or after generating a JWT Token. Generate a random token:
Read more >JWT Authentication Flow with Refresh Tokens in ASP.NET ...
A comprehensive guide on implementing JWT authentication with refresh tokens in ASP.NET Core Web API using Entity Framework Core and ...
Read more >ASP.NET Core 3.1 API - JWT Authentication with Refresh ...
The generateRefreshToken() helper method returns a new refresh token that expires after 7 days. The created date and user ip address are saved ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Huh, big thanks and sorry for giving so out of square description ) I’ll check this right now/
Great to hear!