diff --git a/docs/self-hosting/authentication/google.mdx b/docs/self-hosting/authentication/google.mdx index a84c65b29..0360b6e3c 100644 --- a/docs/self-hosting/authentication/google.mdx +++ b/docs/self-hosting/authentication/google.mdx @@ -14,3 +14,5 @@ You wil need to configure the following [environment variables](https://infisica - `CLIENT_ID_GOOGLE`: OAuth 2.0 Client ID obtained from the credentials page - `CLIENT_SECRET_GOOGLE`: OAuth 2.0 Client Secret obtained from the credentials page +- `JWT_PROVIDER_AUTH_SECRET`: Secret Key for signing OAuth 2.0 access token +- `JWT_PROVIDER_AUTH_LIFETIME`: Lifetime for OAuth 2.0 access token \ No newline at end of file diff --git a/docs/self-hosting/configuration/envars.mdx b/docs/self-hosting/configuration/envars.mdx index 6bcb67d55..ef9fc1fd0 100644 --- a/docs/self-hosting/configuration/envars.mdx +++ b/docs/self-hosting/configuration/envars.mdx @@ -69,7 +69,7 @@ Other environment variables are listed below to increase the functionality of yo Name label to be used in From field (e.g. Team) - + To sync secret to third party services, provide value for the related services @@ -108,6 +108,18 @@ Other environment variables are listed below to increase the functionality of yo OAuth2 slug for Netlify integration + + To integrate with external auth providers, provide value for the related keys + + Must be a random 16 byte hex string. Can be generated with `openssl rand -hex 16` + + + OAuth2 client ID for Google auth integration + + + OAuth2 client secret for Google auth integration + + #### JWT @@ -126,6 +138,10 @@ Other environment variables are listed below to increase the functionality of yo JWT token lifetime expressed in seconds or a string describing a time span + + JWT token lifetime expressed in seconds or a string describing a time span + +