Refresh token issue

32 views
Skip to first unread message

Tibin Abraham

unread,
Jul 15, 2022, 1:11:10 AM7/15/22
to CAS Community
Hi,

CAS version 6.0.x

i am using the following config, but not getting refresh token in response.

{
"@class": "org.apereo.cas.services.OidcRegisteredService",
"clientId": "xxxx",
"serviceId": "xxxxxxxxxxxxxx",
"signIdToken": true,
"implicit": true,
"bypassApprovalPrompt": true,
"name": "xxxx",
"id": 1234,
"evaluationOrder": 12,
"supportedGrantTypes": [ "java.util.HashSet",[ "implicit","refresh_token" ] ],
"supportedResponseTypes": [ "java.util.HashSet",[ "id_token token" ] ],
"generateRefreshToken": true,
"scopes": [ "java.util.HashSet",[ "openid", "profile" ,"profile_hrbAuth","offline_access"] ],
"attributeReleasePolicy" : {"@class" : "org.apereo.cas.services.ReturnAllAttributeReleasePolicy" },
"requiredHandlers": ["java.util.HashSet",[ "QueryDatabaseAuthenticationHandler" ,"mfa-simple"]],
"theme": "admin",
"accessStrategy" : {
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy",
"enabled" : true,
"ssoEnabled" : false,
"requiredAttributes" : {"@class" : "java.util.HashMap", "userRole" : [ "java.util.HashSet", [ "X","Y" ] ]}
}
}


Pablo Vidaurri

unread,
Jul 27, 2022, 11:56:04 AM7/27/22
to CAS Community, tibint...@gmail.com
are you missing double quotes and a comma?

supportedResponseTypes": [ "java.util.HashSet",[ "id_token","token" ] ],
Reply all
Reply to author
Forward
0 new messages