dazzling-honey-93005
07/15/2023, 11:00 AMcallbackurl
for Kratos the URL should be of form /kratos/self-service/methods/oidc/callback/github.
Since with GitHub app we can specify upto 10 callback URLs, when using GitHub as SSO with Kratos, how I can use redirect_uri
param as mentioned in GitHub docs, to control which callback URL is used.
You can specify up to 10 callback URLs. If you specify multiple callback URLs, you can use thehttps://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/about-the-user-authorization-callback-urlparameter when you prompt the user to authorize your GitHub App, to indicate which callback URL the user should be redirected to. If you do not specifyredirect_uri
, the first callback URL will be used. For more information about using theredirect_uri
parameter, see āGenerating a user access token for a GitHub Appā.redirect_uri
dazzling-honey-93005
07/15/2023, 11:02 AMmagnificent-energy-493
dazzling-honey-93005
07/17/2023, 8:25 AMdazzling-honey-93005
07/17/2023, 8:26 AMredirect_uri
param to distinguish when you redirect user to Github, but this control lies with Kratos. So I was thinking a redirect_uri
or a similar config option can be added to Kratos config.