Apologies in advanced if my question seems like a ...
# talk-kratos
s
Apologies in advanced if my question seems like a dump of information I am using Kratos version
v0.10.1
run on a Kubernetes cluster in GCP I'm trying to configure Patreon as a sign-in option using Kratos. I have a generic oidc provider with a working client id and secret, and I have set the
issuer_url
parameter to
<https://www.patreon.com/oauth2/authorize>
as per their documentation. (https://docs.patreon.com/#oauth) When clicking the oidc button on our UI, it fails to authorize. The log below seems to indicate that something is getting a 404 response from Patreon but I'm not sure exactly what, the
issuer_url
is correct I have also tried setting
issuer_url
to both
<https://www.patreon.com/oauth2>
and
<https://www.patreon.com>
(I tried the second one in case there was a well known doc some place Kratos is trying to look for) and neither work My theory is that the
generic
OIDC driver in Kratos has set paths for endpoints like
token
or a user profile endpoint, so I did a bit of research and it seems that Patreon has other oauth2 endpoints like token on another path other than
/oauth2
Copy code
level=error msg=An error occurred while handling a request audience=application error=map[debug: message:An internal server error occurred, please contact the system administrator reason:Unable to initialize OpenID Connect Provider: 404 Not Found: <!DOCTYPE html>
Does Kratos have preset paths for where it expects other related oauth endpoints to be? If so is there any way to change them in config? If not how easy would it be for someone who has never touched go before to potentially add config options to change those urls? And where would this code be?