Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to override Github URL for Github Enterprise SSO compatiblity #112

Open
AlphaJack opened this issue Jul 11, 2022 · 1 comment
Open

Comments

@AlphaJack
Copy link

Can you add an option to override the default Github Oauth2 default endpoint?
I would like to authenticate Commento users with a Github Enterprise compatible IDP but I need Commento to point to a custom domain: https://goauthentik.io/docs/providers/oauth2/#github-compatibility

This means configuring three variables instead of two:

COMMENTO_GITHUB_URL=https://sso.example.org/
COMMENTO_GITHUB_KEY=YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
COMMENTO_GITHUB_SECRET=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

The endpoints would remain the same, but from https://sso.example.org instead of https://github.com:

Endpoint URL
Authorization /login/oauth/authorize
Token /login/oauth/access_token
User Info /user
User Teams Info /user/teams
@souramoo
Copy link
Owner

Authentik looks like a really cool project to save time bootstrapping new websites etc! I will check it out for some other projects I have in mind :)

This is easy enough to do, will add support for this shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants