Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create refresh token #36

Open
mohammadsheikhian opened this issue Aug 2, 2018 · 0 comments
Open

Create refresh token #36

mohammadsheikhian opened this issue Aug 2, 2018 · 0 comments
Labels
400 Bad Request 401 Unauthorized 605 We Don't Recognize This Application draft rest story
Milestone

Comments

@mohammadsheikhian
Copy link
Contributor

mohammadsheikhian commented Aug 2, 2018

CREATE /apiv1/refreshtokens

  • AS a Client I can CREATE new access token using by refresh token. So I use refresh token for exchange access token.

User story

Request :

  • The request to CAS with follow parameters:
Parameter Type Example
clientId string 781215968670
secret string oj5qITnaVreCDFrXYATj9BtO
refreshToken string 1/9dlcU9rHjUM..reoINNButDPg

Response:

{
  "access_token": "ya29.GlvqBS-04..BkHD9A-8Y2Gp1WB197aI4", 
  "token_type": "Bearer", 
  "expires_in": 3600, 
}
@mohammadsheikhian mohammadsheikhian self-assigned this Aug 2, 2018
@mohammadsheikhian mohammadsheikhian added 401 Unauthorized 605 We Don't Recognize This Application 400 Bad Request draft rest story labels Aug 2, 2018
@mohammadsheikhian mohammadsheikhian added this to the WhenPigsFly milestone Aug 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
400 Bad Request 401 Unauthorized 605 We Don't Recognize This Application draft rest story
Projects
None yet
Development

No branches or pull requests

1 participant