By: Thomas Kuechenthal user 14 Aug 2020 at 10:31 a.m. CDT

3 Responses
Thomas Kuechenthal gravatar
Hi! We are planning to start using Casa to give our customers the possibility to manage password, 2FA, etc. We have been testing it for a long time now but since a few days we receive this error when calling the URL https://idp.example.cloud/casa/ {"error":"unauthorized_client","error_description":"The client is not authorized to request an access token using this method.","state":"n7nvt12uhstr11cdjojvb4938v"} The URL is showing: https://idp.example.cloud/oxauth/restv1/authorize?response_type=code&client_id=@!88EC.EB99.B507.02F7!0001!B78A.D73F!0008!6924.793A.49BB.F43F&redirect_uri=https://idp.example.cloud/casa&scope=openid+profile+user_name+clientinfo&state=521l9tmi1nps405djsnf0qdrce&nonce=2nlp76l2834bqd20lhoi9i3dle&acr_values=casa I was checking all logs and can't find anything. What could be the reason for it? Is this maybe SSL related? Some expired certificate? Thanks for any help, Thomas

By Jose Gonzalez staff 14 Aug 2020 at 12:01 p.m. CDT

Jose Gonzalez gravatar
Hi there, In oxtrust, is there a Casa client still listed? Go to OpenID Connect > Clients In 3.1.x the Casa client expires after one year of usage, that might be the problem... If so, follow [these steps](https://gluu.org/docs/casa/3.1.6/administration/faq/#in-case-of-lockout) to trigger re-registration of client. Then go and extend expiration of the client using oxTrust...

By Thomas Kuechenthal user 14 Aug 2020 at 2:37 p.m. CDT

Thomas Kuechenthal gravatar
Hi Jose, I deleted the oxd client section in casa.json. Everything works again! Thank you so much, I would have never found the reason, thanks a lot! Best, Thomas

By Jose Gonzalez staff 14 Aug 2020 at 3:23 p.m. CDT

Jose Gonzalez gravatar
My pleasure.