little-pager-97837
09/27/2022, 9:07 AMmagnificent-energy-493
selfservice:
methods:
oidc:
config:
providers:
- id: github # this is `<provider-id>` in the Authorization callback URL. DO NOT CHANGE IT ONCE SET!
provider: github # This defines the app type used for integration. Use 'github' for GitHub OAuth app. Use 'github-app' for GitHub App.
client_id: .... # Replace this with the OAuth2 Client ID provided by GitHub
client_secret: .... # Replace this with the OAuth2 Client Secret provided by GitHub
mapper_url: "base64://<YOUR_BASE64_ENCODED_JSONNET_HERE>"
# Alternatively, use an URL:
# mapper_url: <https://storage.googleapis.com/abc-cde-prd/9cac9717f007808bf17f22ce7f4295c739604b183f05ac4afb4>
scope:
- user:email
enabled: true
there is some documentation for each individual provider for self-hosted as well:
https://www.ory.sh/docs/kratos/social-signin/github#configuration-for-self-hosted-instancessteep-lamp-91158
little-pager-97837
09/27/2022, 9:25 AMlittle-pager-97837
09/27/2022, 9:26 AMmagnificent-energy-493