From 9b455b5408a609af15b2f9681552d383aa72f072 Mon Sep 17 00:00:00 2001 From: Kunal Singh Date: Tue, 20 Feb 2024 17:40:12 +0530 Subject: [PATCH] docs(oauth-providers): caution does not work when indentation, so using simple warning. (#401) * caution does not work when indentation, so using simple warning. * ci: update actions/checkout and actions/setup-node to v4 (#399) * fix: glitch when using CAUTION with indentation * highlited not and client secret --- packages/oauth-providers/README.md | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/packages/oauth-providers/README.md b/packages/oauth-providers/README.md index 7b381d93..80f4cc27 100644 --- a/packages/oauth-providers/README.md +++ b/packages/oauth-providers/README.md @@ -105,8 +105,7 @@ export default app - Type: `string`. - `Required`. - Your app client secret. You can find this value in the API Console [Credentials page](https://console.developers.google.com/apis/credentials).
When developing **Cloudflare Workers**, there's no need to send this parameter. Just declare it in the `wrangler.toml` file as `GOOGLE_SECRET=`. - > [!CAUTION] - > Do not share your client secret to ensure the security of your app. + > ⚠️ Do **not** share your **client secret** to ensure the security of your app. - `scope`: - Type: `string[]`. - `Required`. @@ -228,8 +227,7 @@ export default app - Type: `string`. - `Required`. - Your app client secret. You can find this value in the App Dashboard [Dashboard page](https://developers.facebook.com/apps).
When developing **Cloudflare Workers**, there's no need to send this parameter. Just declare it in the `wrangler.toml` file as `FACEBOOK_SECRET=`. - > [!CAUTION] - > Do not share your client secret to ensure the security of your app. + > ⚠️ Do **not** share your **client secret** to ensure the security of your app. - `scope`: - Type: `string[]`. - `Required`. @@ -311,8 +309,7 @@ GitHub provides two types of Apps to utilize its API: the `GitHub App` and the ` - `Required`. - `Github App` and `Oauth App`. - Your app client secret. You can find this value in the [GitHub App settings](https://github.com/settings/apps) or the [OAuth App settings](https://github.com/settings/developers) based on your App type.
When developing **Cloudflare Workers**, there's no need to send this parameter. Just declare it in the `wrangler.toml` file as `GITHUB_SECRET=`. - > [!CAUTION] - > Do not share your client secret to ensure the security of your app. + > ⚠️ Do **not** share your **client secret** to ensure the security of your app. - `scope`: - Type: `string[]`. - `Required`. @@ -480,8 +477,7 @@ LinkedIn provides two types of Authorization to utilize its API: the `Member Aut - `Required`. - `Member` and `Application` authorization. - Your app client secret. You can find this value in the [LinkedIn Developer Portal](https://www.linkedin.com/developers/apps).
When developing **Cloudflare Workers**, there's no need to send this parameter. Just declare it in the `wrangler.toml` file as `LINKEDIN_SECRET=`. - > [!CAUTION] - > Do not share your client secret to ensure the security of your app. + > ⚠️ Do **not** share your **client secret** to ensure the security of your app. - `scope`: - Type: `string[]`. - `Required`. @@ -651,8 +647,7 @@ export default app - Type: `string`. - `Required`. - Your app client secret. You can find this value in the [Developer Portal](https://developer.twitter.com/en/portal/dashboard).
When developing **Cloudflare Workers**, there's no need to send this parameter. Just declare it in the `wrangler.toml` file as `X_SECRET=`. - > [!CAUTION] - > Do not share your client secret to ensure the security of your app. + > ⚠️ Do **not** share your **client secret** to ensure the security of your app. - `scope`: - Type: `string[]`. - `Required`. @@ -808,8 +803,7 @@ export default app - Type: `string`. - `Required`. - Your app client secret. You can find this value in the [Developer Portal](https://discord.com/developers/applications).
When developing **Cloudflare Workers**, there's no need to send this parameter. Just declare it in the `wrangler.toml` file as `DISCORD_SECRET=`. - > [!CAUTION] - > Do not share your client secret to ensure the security of your app. + > ⚠️ Do **not** share your **client secret** to ensure the security of your app. - `scope`: - Type: `string[]`. - `Required`.