diff --git a/docs/guides/self-hosting/oauth/integrations/github.md b/docs/guides/self-hosting/oauth/integrations/github.md index 7717dec5..8464c35e 100644 --- a/docs/guides/self-hosting/oauth/integrations/github.md +++ b/docs/guides/self-hosting/oauth/integrations/github.md @@ -10,17 +10,17 @@ This guide covers setting up GitHub OAuth for your zrok public frontend. Navigate to your GitHub account settings: **Settings > Developer Settings > OAuth Apps > Register a new application** -![](../images/github_create_oauth_application_1.png) +![](images/github_create_oauth_application_1.png) -![](../images/github_create_oauth_application_2.png) +![](images/github_create_oauth_application_2.png) Configure the **Authorization callback URL** to match your OAuth frontend address with `//auth/callback` appended: -![](../images/github_create_oauth_application_3.png) +![](images/github_create_oauth_application_3.png) Create a new client secret: -![](../images/github_create_oauth_application_4.png) +![](images/github_create_oauth_application_4.png) Save the client ID and client secret for your frontend configuration. diff --git a/docs/guides/self-hosting/oauth/integrations/google.md b/docs/guides/self-hosting/oauth/integrations/google.md index ba3eed5b..3179e092 100644 --- a/docs/guides/self-hosting/oauth/integrations/google.md +++ b/docs/guides/self-hosting/oauth/integrations/google.md @@ -12,39 +12,39 @@ Before configuring an OAuth Client ID, you must configure the "OAuth consent scr Navigate to: **APIs & Services > Credentials > OAuth consent screen** -![](../images/google_oauth_content_screen_2.png) +![](images/google_oauth_content_screen_2.png) Configure your zrok public frontend's identity and branding: -![](../images/google_oauth_content_screen_3.png) +![](images/google_oauth_content_screen_3.png) Add authorized domains and contact information: -![](../images/google_oauth_content_screen_4.png) +![](images/google_oauth_content_screen_4.png) Add the `../auth/userinfo.email` scope (required for zrok to receive user email addresses): -![](../images/google_oauth_content_screen_5.png) +![](images/google_oauth_content_screen_5.png) -![](../images/google_oauth_content_screen_6.png) +![](images/google_oauth_content_screen_6.png) ## Create OAuth 2.0 Client ID Navigate to: **APIs & Services > Credentials > + Create Credentials** -![](../images/google_create_credentials_1.png) +![](images/google_create_credentials_1.png) Select **OAuth client ID**: -![](../images/google_create_credentials_2.png) +![](images/google_create_credentials_2.png) Choose **Web Application**: -![](../images/google_create_credentials_3.png) +![](images/google_create_credentials_3.png) Configure the **Authorized redirect URIs** to match your OAuth frontend address with `//auth/callback` appended: -![](../images/google_create_credentials_4.png) +![](images/google_create_credentials_4.png) Save the client ID and client secret for your frontend configuration. diff --git a/docs/guides/self-hosting/oauth/images/github_create_oauth_application_1.png b/docs/guides/self-hosting/oauth/integrations/images/github_create_oauth_application_1.png similarity index 100% rename from docs/guides/self-hosting/oauth/images/github_create_oauth_application_1.png rename to docs/guides/self-hosting/oauth/integrations/images/github_create_oauth_application_1.png diff --git a/docs/guides/self-hosting/oauth/images/github_create_oauth_application_2.png b/docs/guides/self-hosting/oauth/integrations/images/github_create_oauth_application_2.png similarity index 100% rename from docs/guides/self-hosting/oauth/images/github_create_oauth_application_2.png rename to docs/guides/self-hosting/oauth/integrations/images/github_create_oauth_application_2.png diff --git a/docs/guides/self-hosting/oauth/images/github_create_oauth_application_3.png b/docs/guides/self-hosting/oauth/integrations/images/github_create_oauth_application_3.png similarity index 100% rename from docs/guides/self-hosting/oauth/images/github_create_oauth_application_3.png rename to docs/guides/self-hosting/oauth/integrations/images/github_create_oauth_application_3.png diff --git a/docs/guides/self-hosting/oauth/images/github_create_oauth_application_4.png b/docs/guides/self-hosting/oauth/integrations/images/github_create_oauth_application_4.png similarity index 100% rename from docs/guides/self-hosting/oauth/images/github_create_oauth_application_4.png rename to docs/guides/self-hosting/oauth/integrations/images/github_create_oauth_application_4.png diff --git a/docs/guides/self-hosting/oauth/images/github_create_oauth_application_5.png b/docs/guides/self-hosting/oauth/integrations/images/github_create_oauth_application_5.png similarity index 100% rename from docs/guides/self-hosting/oauth/images/github_create_oauth_application_5.png rename to docs/guides/self-hosting/oauth/integrations/images/github_create_oauth_application_5.png diff --git a/docs/guides/self-hosting/oauth/images/google_create_credentials_1.png b/docs/guides/self-hosting/oauth/integrations/images/google_create_credentials_1.png similarity index 100% rename from docs/guides/self-hosting/oauth/images/google_create_credentials_1.png rename to docs/guides/self-hosting/oauth/integrations/images/google_create_credentials_1.png diff --git a/docs/guides/self-hosting/oauth/images/google_create_credentials_2.png b/docs/guides/self-hosting/oauth/integrations/images/google_create_credentials_2.png similarity index 100% rename from docs/guides/self-hosting/oauth/images/google_create_credentials_2.png rename to docs/guides/self-hosting/oauth/integrations/images/google_create_credentials_2.png diff --git a/docs/guides/self-hosting/oauth/images/google_create_credentials_3.png b/docs/guides/self-hosting/oauth/integrations/images/google_create_credentials_3.png similarity index 100% rename from docs/guides/self-hosting/oauth/images/google_create_credentials_3.png rename to docs/guides/self-hosting/oauth/integrations/images/google_create_credentials_3.png diff --git a/docs/guides/self-hosting/oauth/images/google_create_credentials_4.png b/docs/guides/self-hosting/oauth/integrations/images/google_create_credentials_4.png similarity index 100% rename from docs/guides/self-hosting/oauth/images/google_create_credentials_4.png rename to docs/guides/self-hosting/oauth/integrations/images/google_create_credentials_4.png diff --git a/docs/guides/self-hosting/oauth/images/google_oauth_content_screen_1.png b/docs/guides/self-hosting/oauth/integrations/images/google_oauth_content_screen_1.png similarity index 100% rename from docs/guides/self-hosting/oauth/images/google_oauth_content_screen_1.png rename to docs/guides/self-hosting/oauth/integrations/images/google_oauth_content_screen_1.png diff --git a/docs/guides/self-hosting/oauth/images/google_oauth_content_screen_2.png b/docs/guides/self-hosting/oauth/integrations/images/google_oauth_content_screen_2.png similarity index 100% rename from docs/guides/self-hosting/oauth/images/google_oauth_content_screen_2.png rename to docs/guides/self-hosting/oauth/integrations/images/google_oauth_content_screen_2.png diff --git a/docs/guides/self-hosting/oauth/images/google_oauth_content_screen_3.png b/docs/guides/self-hosting/oauth/integrations/images/google_oauth_content_screen_3.png similarity index 100% rename from docs/guides/self-hosting/oauth/images/google_oauth_content_screen_3.png rename to docs/guides/self-hosting/oauth/integrations/images/google_oauth_content_screen_3.png diff --git a/docs/guides/self-hosting/oauth/images/google_oauth_content_screen_4.png b/docs/guides/self-hosting/oauth/integrations/images/google_oauth_content_screen_4.png similarity index 100% rename from docs/guides/self-hosting/oauth/images/google_oauth_content_screen_4.png rename to docs/guides/self-hosting/oauth/integrations/images/google_oauth_content_screen_4.png diff --git a/docs/guides/self-hosting/oauth/images/google_oauth_content_screen_5.png b/docs/guides/self-hosting/oauth/integrations/images/google_oauth_content_screen_5.png similarity index 100% rename from docs/guides/self-hosting/oauth/images/google_oauth_content_screen_5.png rename to docs/guides/self-hosting/oauth/integrations/images/google_oauth_content_screen_5.png diff --git a/docs/guides/self-hosting/oauth/images/google_oauth_content_screen_6.png b/docs/guides/self-hosting/oauth/integrations/images/google_oauth_content_screen_6.png similarity index 100% rename from docs/guides/self-hosting/oauth/images/google_oauth_content_screen_6.png rename to docs/guides/self-hosting/oauth/integrations/images/google_oauth_content_screen_6.png