Getting error while trying to connect Kratos to UAE Pass as Social Sign. #3884
Replies: 1 comment 1 reply
-
Hello @rohit-patel-tw The error message you're seeing indicates that Ory Kratos is expecting a JSON response from the OpenID Connect Provider's discovery endpoint (usually https:///.well-known/openid-configuration), but it's receiving an HTML response instead. This is likely causing the decoding error.
In your case, you've added auth_url and token_url which are not mentioned in the Ory documentation. These fields might not be necessary as the issuer_url should be enough for Ory Kratos to discover the necessary endpoints. |
Beta Was this translation helpful? Give feedback.
-
I am trying to use Generic OIDC to connect Kratos to UAE Pass. But I am getting error:
Below is my kratos config for OIDC:
Have tried with Github, and it work correctly.
From code, i see that it tries to call
.well-known/openid-configuration
, appending issuerUrl to it. When try to hit this in browser, it return a html page as below:Not sure, if due to this i am getting the decode error.
If, yes, how can i get this resolved.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions