You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-12-21 23:57:36 +02:00
* fix: SourceHut documentation - Add it to sidebar and provider index - Fix broken link This fixes an oversight in #2359, where I had not fully understood how the documentation works. Signed-off-by: Conrad Hoffmann <ch@bitfehler.net> * fix: doc build instructions in docs/README.md --------- Signed-off-by: Conrad Hoffmann <ch@bitfehler.net>
797 B
797 B
id, title
| id | title |
|---|---|
| sourcehut | SourceHut |
- Create a new OAuth client: https://meta.sr.ht/oauth2
- Under
Redirection URIenter the correct URL, i.e.https://internal.yourcompany.com/oauth2/callback
To use the provider, start with --provider=sourcehut.
If you are hosting your own SourceHut instance, make sure you set the following to the appropriate URLs:
--login-url="https://<meta.your.instance>/oauth2/authorize"
--redeem-url="https://<meta.your.instance>/oauth2/access-token"
--profile-url="https://<meta.your.instance>/query"
--validate-url="https://<meta.your.instance>/profile"
The default configuration allows everyone with an account to authenticate. Restricting access is currently only supported by email.