I tried to refresh toakes as below:
POST */cas/oidc/token* HTTP/1.1
Host: server.example.com
Content-Type: application/x-www-form-urlencoded

client_id=s6BhdRkqt3
&client_secret=some_secret12345
&*grant_type=refresh_token*
&refresh_token=8xLOxBtZp8
&scope=openid%20profile

The *response *was like this:
{
    "access_token": "AT-4-xxxxxxxx",
    "id_token": "eyJhbGciOiJSUzI1xxxx",
    "token_type": "bearer",
    "expires_in": 28800,
    "scope": "email openid offline_access profile"
}

There was no refresh_token like :
 "refresh_token": "9yNOxJtZa5",

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/dc92924a-509c-4fed-a617-d8d7736ddf0cn%40apereo.org.

Reply via email to