moved oauth controller endpoints to auth

This commit is contained in:
Sheen Capadngan
2023-05-24 23:44:30 +08:00
parent 93cf7cde2d
commit fac4968193
11 changed files with 25 additions and 37 deletions

View File

@@ -6,7 +6,7 @@ To enable Google Auth for your Infisical project, you first need to set up a Goo
Follow Google's Setting up OAuth 2.0 documentation [here](https://support.google.com/googleapi/answer/6158849). After the setup, copy the Client ID and Client secret. You will need them below.
## Configure Redirect URI
Add the following URI to the Authorized redirect URIs section in the OAuth Client credentials page - `BASE_URL/api/v1/oauth/callback/google`. Replace BASE_URL with the URL of your hosted Infisical instance.
Add the following URI to the Authorized redirect URIs section in the OAuth Client credentials page - `BASE_URL/api/v1/auth/callback/google`. Replace BASE_URL with the URL of your hosted Infisical instance.
![google redirect](../../images/authentication-google-redirect.png)
## General Configuration