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

GitHub login does not work with OAuth clients created in organisations #40

Open
almereyda opened this issue Nov 19, 2023 · 5 comments
Open

Comments

@almereyda
Copy link

When creating an OAuth2 client on

and providing its credentials to a wikiDomain, clicking the GitHub login in the popup window redirects it to https://github.com/login/oauth/authorize?response_type=code&scope=user%3Aemail&client_id=af698a7850beab68841 (this particular client ID has been derigistered) and shows the GitHub 404 page.

This does not happen when providing credentials to an OAuth2 client created on

@almereyda
Copy link
Author

@paul90 I have increased your privilege on @federated-wiki to Owner, so you can verify this, if you like. The regression would also happen with clients created in:

I guess.

@paul90
Copy link
Member

paul90 commented Nov 20, 2023

I will try and look at this in the next day or two (Monday or Tuesday).

The docs say it works with both personal and organization accounts, so seems unexpected that you are having problems. GitHub Docs page.

@almereyda
Copy link
Author

Yes, that was very unexpected.

@paul90
Copy link
Member

paul90 commented Nov 21, 2023

Just tested, the location of things in GitHub has changed since the original notes were written. OAuth Apps is now under Developer settings in the side panel. There are also a few other changes, like creation of the app not showing an initial client secret, and having to generated a new client secret.

But using the oAuth app creating on the github org works. I have left the test application in OAuth Apps, feel free to delete, and to revert my increased privileges.

@almereyda
Copy link
Author

Thanks for bringing counter evidence. I will check this in return, and decrease your privilege then.

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