mirror of
https://github.com/LukeHagar/documentation-coolify.git
synced 2025-12-09 20:37:45 +00:00
fix: render and place into self-hosted section
This commit is contained in:
@@ -449,6 +449,7 @@ export default defineConfig({
|
||||
{ label: "Self-update", link: "/knowledge-base/self-update" },
|
||||
{ label: "Commands", link: "/knowledge-base/commands" },
|
||||
{ label: "Delete User", link: "/knowledge-base/delete-user" },
|
||||
{ label: "OAuth", link: "/knowledge-base/oauth" },
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -15,13 +15,13 @@ Using OAuth, you can delegate authorization to get a user's email address to an
|
||||
|
||||
## Setup OAuth
|
||||
|
||||
To setup OAuth for a given IDP, you need to get a client id and a client secret from the authorization server to put into <YOUR_COOLIFY_DASHBOARD>/settings/oauth.
|
||||
To setup OAuth for a given IDP, you need to get a client id and a client secret from the authorization server to put into **YOUR_COOLIFY_DASHBOARD**/settings/oauth.
|
||||
You'll also need to set a Redirect URI for the authorization server to send the user's data back to once they have authorized coolify to access their email address.
|
||||
The Redirect URI to provide to the IDP should be in the format of <YOUR_COOLIFY_DASHBOARD>/auth/<provider>/callback for example.com : https://coolify.example.com/auth/google/callback
|
||||
The Redirect URI to provide to the IDP should be in the format of **YOUR_COOLIFY_DASHBOARD**/auth/*PROVIDER*/callback for example.com : https://coolify.example.com/auth/google/callback
|
||||
|
||||
- [Google OAuth](https://support.google.com/cloud/answer/6158849?hl=en)
|
||||
- Authorized JavaScript origins should be <YOUR_COOLIFY_DASHBOARD>
|
||||
- Authorized redirect URIs should be the redirect uri you set in <YOUR_COOLIFY_DASHBOARD>/settings/oauth for google. for example.com : https://coolify.example.com/auth/google/callback
|
||||
- Authorized JavaScript origins should be **YOUR_COOLIFY_DASHBOARD**
|
||||
- Authorized redirect URIs should be the redirect uri you set in **YOUR_COOLIFY_DASHBOARD**/settings/oauth for google. for example.com : https://coolify.example.com/auth/google/callback
|
||||
- [Github OAuth](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app)
|
||||
- Homepage URL should be <YOUR_COOLIFY_DASHBOARD>
|
||||
- Authorization callback URL should be the redirect uri you set in <YOUR_COOLIFY_DASHBOARD>/settings/oauth for github. for example.com : https://coolify.example.com/auth/github/callback
|
||||
- Homepage URL should be **YOUR_COOLIFY_DASHBOARD**
|
||||
- Authorization callback URL should be the redirect uri you set in **YOUR_COOLIFY_DASHBOARD**/settings/oauth for github. for example.com : https://coolify.example.com/auth/github/callback
|
||||
|
||||
Reference in New Issue
Block a user