ysomad / go-auth-service

Authentication and account management service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add refresh tokens endpoint

ysomad opened this issue · comments

commented
  1. Get refresh token from cookie refreshToken or from request body if cookie is empty
  2. Generate new access token
  3. Generate new refresh token
  4. Create refresh session with new refresh token
  5. Return access and refresh tokens to user