Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

OAuth Refresh Token #1278


User avatar
0
adevell created

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)
  • User Avatar
    0
    hikalkan created
    Support Team

    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.

  • User Avatar
    0
    adevell created

    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.

  • User Avatar
    0
    paddyfink created

    @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>