The following symptoms are seen when users try to log into an app bound to an SSO service
java.lang.IllegalArgumentException: A granted authority textual representation is requiredElastic Application Runtime with the Single Sign-On Tile
This can be caused by an invalid scope name. You can check the scopes with the following steps:
uaac curl /oauth/clients/<APP_ID_FROM_STEP_1>
RESPONSE BODY:
{
"scope": [
"openid",
"\n",
"cloud_controller.read"
],
"client_id": "<APP_ID>",
Remove the invalid scope:
uaac client update <APP_ID> --scope <YOUR_SCOPES>
Using the above example, the following command will update the scopes to get rid of the invalid "\n" scope:
uaac client update <APP_ID> --scope openid,cloud_controller.read