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
pull/402/head
Kunal Singh 2024-02-20 17:40:12 +05:30 committed by GitHub
parent 701145178c
commit 9b455b5408
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 12 deletions

View File

@ -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). <br />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). <br />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. <br />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). <br />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). <br />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). <br />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`.