Is there an easy way to configure and support OAuth refresh tokens in Asp.Net Boilerplate and/or Module Zero?
Currently, within the WebAPI Account Controller, the access token expiration is set for 20 minutes. I would like to leave the access token expiration at 20 minutes (or less), while configuring refresh token expiration for 2-3 months.
3 Answer(s)
-
0
There is no built-in feature like that. I did not use refresh tokens before. But, it should be similar to implement in another .NET project. Have you tried to implement it? We try to help you if you have any difficulties.
-
0
Thanks. It's on my to-do list to begin the effort within the next few weeks--most likely early July. I'll keep you posted on progress.
-
0
@adevell, here is a good article that could help you : <a class="postlink" href="http://bitoftech.net/2014/07/16/enable-oauth-refresh-tokens-angularjs-app-using-asp-net-web-api-2-owin/">http://bitoftech.net/2014/07/16/enable- ... pi-2-owin/</a>