Skip to content

Commit

Permalink
Use the correct oauth2 instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
bcbogdan committed Feb 6, 2025
1 parent 5e686ef commit 11f47cd
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion v2/microservice_auth/client-credentials.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ This can be done by directly calling the **SuperTokens Core** API.
```bash
# You will have to run this for each one of your applications
# Adjust the attributes based on that
curl -X POST ^{coreInjector_uri_without_quotes}/recipe/oauth2/admin/clients \
curl -X POST ^{coreInjector_uri_without_quotes}/recipe/oauth/clients \
-H "Content-Type: application/json" \
-H "api-key: ^{coreInjector_api_key_without_quotes}" \
-d '{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ This can be done by directly calling the **SuperTokens Core** API.
```bash
# You will have to run this for each one of your applications
# Adjust the client_name and redirect_uri based on that
curl -X POST ^{coreInjector_uri_without_quotes}/recipe/oauth2/admin/clients \
curl -X POST ^{coreInjector_uri_without_quotes}/recipe/oauth/clients \
-H "Content-Type: application/json" \
-H "api-key: ^{coreInjector_api_key_without_quotes}" \
-d '{
Expand Down
2 changes: 1 addition & 1 deletion v2/unified-login/reuse-website-login.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ This can be done by directly calling the **SuperTokens Core** API.
```bash
# You will have to run this for each one of your applications
# Adjust the client_name and redirect_uri based on that
curl -X POST ^{coreInjector_uri_without_quotes}/recipe/oauth2/admin/clients \
curl -X POST ^{coreInjector_uri_without_quotes}/recipe/oauth/clients \
-H "Content-Type: application/json" \
-H "api-key: ^{coreInjector_api_key_without_quotes}" \
-d '{
Expand Down
4 changes: 2 additions & 2 deletions v3/docs/authentication/m2m/client-credentials.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ You will first have to enable the **OAuth2** features from the **SuperTokens.com
1. Open the **SuperTokens.com Dashboard**
2. Click on the **Enabled Paid Features** button
3. Click on **Managed Service**
4. Check the **OAuth 2.0** option
4. Check the **Unified Login / M2M** option
5. Click *Save*

Now you should be able to use the OAuth2 recipes in your applications.
Expand All @@ -47,7 +47,7 @@ This can be done by directly calling the **SuperTokens Core** API.
```bash
# You will have to run this for each one of your applications
# Adjust the attributes based on that
curl -X POST ^{coreInfo.uri}/recipe/oauth2/admin/clients \
curl -X POST ^{coreInfo.uri}/recipe/oauth/clients \
-H "Content-Type: application/json" \
-H "api-key: ^{coreInfo.key}" \
-d '{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ You will first have to enable the **OAuth2** features from the **SuperTokens.com
1. Open the **SuperTokens.com Dashboard**
2. Click on the **Enabled Paid Features** button
3. Click on **Managed Service**
4. Check the **OAuth 2.0** option
4. Check the **Unified Login / M2M** option
5. Click *Save*

Now you should be able to use the OAuth2 recipes in your applications.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ You will first have to enable the **OAuth2** features from the **SuperTokens.com
1. Open the **SuperTokens.com Dashboard**
2. Click on the **Enabled Paid Features** button
3. Click on **Managed Service**
4. Check the **OAuth 2.0** option
4. Check the **Unified Login / M2M** option
5. Click *Save*

Now you should be able to use the OAuth2 recipes in your applications.
Expand All @@ -71,7 +71,7 @@ This can be done by directly calling the **SuperTokens Core** API.
```bash
# You will have to run this for each one of your applications
# Adjust the client_name and redirect_uri based on that
curl -X POST ^{coreInfo.uri}/recipe/oauth2/admin/clients \
curl -X POST ^{coreInfo.uri}/recipe/oauth/clients \
-H "Content-Type: application/json" \
-H "api-key: ^{coreInfo.key}" \
-d '{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ You will first have to enable the **OAuth2** features from the **SuperTokens.com
1. Open the **SuperTokens.com Dashboard**
2. Click on the **Enabled Paid Features** button
3. Click on **Managed Service**
4. Check the **OAuth 2.0** option
4. Check the **Unified Login / M2M** option
5. Click *Save*

Now you should be able to use the OAuth2 recipes in your applications.
Expand All @@ -60,7 +60,7 @@ This can be done by directly calling the **SuperTokens Core** API.
```bash
# You will have to run this for each one of your applications
# Adjust the client_name and redirect_uri based on that
curl -X POST ^{coreInfo.uri}/recipe/oauth2/admin/clients \
curl -X POST ^{coreInfo.uri}/recipe/oauth/clients \
-H "Content-Type: application/json" \
-H "api-key: ^{coreInfo.key}" \
-d '{
Expand Down

0 comments on commit 11f47cd

Please sign in to comment.