mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-08-22 22:32:03 +10:00
Docs/fix typo in OIDC docs (#473)
* Fix typo instances of "odic" in docs #443 * Update contributing guide link * Update starlight-links-validator to fix build errors --------- Co-authored-by: Trevor Wallis <trevor@twallis.com>
This commit is contained in:
co-authored by
Trevor Wallis
parent
12c81eb1ac
commit
e654cdf52e
@@ -48,10 +48,10 @@ Drop recommends using the OIDC well-known option **instead** of manually specify
|
||||
|
||||
## Redirect URL
|
||||
|
||||
Drop uses the `EXTERNAL_URL` environment variable to create the callback URL: `$EXTERNAL_URL/api/v1/auth/odic/callback`.
|
||||
Drop uses the `EXTERNAL_URL` environment variable to create the callback URL: `$EXTERNAL_URL/api/v1/auth/oidc/callback`.
|
||||
|
||||
For example: if `EXTERNAL_URL` was set to `http://localhost:3000/`, then the redirect URL would be `http://localhost:3000/api/v1/auth/odic/callback`.
|
||||
For example: if `EXTERNAL_URL` was set to `http://localhost:3000/`, then the redirect URL would be `http://localhost:3000/api/v1/auth/oidc/callback`.
|
||||
|
||||
## Logout URL
|
||||
|
||||
Drop supports OIDC back-channel logout, enabling the OIDC provider to logout users. Using the example above, the back-channel logout URL would be `http://localhost:3000/api/v1/auth/odic/logout`.
|
||||
Drop supports OIDC back-channel logout, enabling the OIDC provider to logout users. Using the example above, the back-channel logout URL would be `http://localhost:3000/api/v1/auth/oidc/logout`.
|
||||
|
||||
@@ -18,8 +18,8 @@ For this guide, `drop.tld` is used as a placeholder for your Drop instance's dom
|
||||
1. Select OpenID Connect as the provider type
|
||||
1. Configure the provider
|
||||
- Copy the client ID, and secret, you'll need them for Drop
|
||||
- Set the redirect as `Strict` and the URL to `https://drop.tld/api/v1/auth/odic/callback`
|
||||
- Set the logout URL to `https://drop.tld/api/v1/auth/odic/logout`
|
||||
- Set the redirect as `Strict` and the URL to `https://drop.tld/api/v1/auth/oidc/callback`
|
||||
- Set the logout URL to `https://drop.tld/api/v1/auth/oidc/logout`
|
||||
- Make sure to set the logout URL as a `back-channel` logout in the dropdown
|
||||
1. Configure everything else as you see fit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user