From 566b290d4b0185c4411b35fe3bfe7ed0cbd92e59 Mon Sep 17 00:00:00 2001 From: rle28 Date: Tue, 13 Feb 2024 13:05:14 -0500 Subject: [PATCH 1/2] DOCS-3686 - Actions update Updated a reference to using Rules to use Actions instead. --- articles/api/authentication/_userinfo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/api/authentication/_userinfo.md b/articles/api/authentication/_userinfo.md index ed3fbde484..3424079857 100644 --- a/articles/api/authentication/_userinfo.md +++ b/articles/api/authentication/_userinfo.md @@ -89,7 +89,7 @@ This endpoint will work only if `openid` was granted as a - The sample auth0.js script uses the library version 8. If you are using auth0.js version 7, please see this [reference guide](/libraries/auth0js/v7). - The auth0.js `parseHash` method, requires that your tokens are signed with `RS256`, rather than `HS256`. -- If you want this endpoint to return `user_metadata` or other custom information, you can use [rules](/rules/guides/metadata). For more information refer to [User profile claims and scope](/api-auth/tutorials/adoption/scope-custom-claims). +- To use this endpoint to return `user_metadata` or other custom information, add a custom ID token claim to an [Action](/secure/tokens/json-web-tokens/create-custom-claims#create-custom-claims). For more information refer to [User profile claims and scope](/api-auth/tutorials/adoption/scope-custom-claims). - This endpoint will return three HTTP Response Headers, that provide relevant data on its rate limits: - `X-RateLimit-Limit`: Number of requests allowed per minute. - `X-RateLimit-Remaining`: Number of requests available. Each new request reduces this number by 1. For each minute that passes, requests are added back, so this number increases by 1 each time. From dbb56ec1edb06fc86ced32b19542fbb144324939 Mon Sep 17 00:00:00 2001 From: rle28 Date: Tue, 13 Feb 2024 14:23:21 -0500 Subject: [PATCH 2/2] Update _userinfo.md --- articles/api/authentication/_userinfo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/api/authentication/_userinfo.md b/articles/api/authentication/_userinfo.md index 3424079857..dc972f1bab 100644 --- a/articles/api/authentication/_userinfo.md +++ b/articles/api/authentication/_userinfo.md @@ -89,7 +89,7 @@ This endpoint will work only if `openid` was granted as a - The sample auth0.js script uses the library version 8. If you are using auth0.js version 7, please see this [reference guide](/libraries/auth0js/v7). - The auth0.js `parseHash` method, requires that your tokens are signed with `RS256`, rather than `HS256`. -- To use this endpoint to return `user_metadata` or other custom information, add a custom ID token claim to an [Action](/secure/tokens/json-web-tokens/create-custom-claims#create-custom-claims). For more information refer to [User profile claims and scope](/api-auth/tutorials/adoption/scope-custom-claims). +- To return `user_metadata` or other custom information from this endpoint, add a custom claim to the ID token with an [Action](/secure/tokens/json-web-tokens/create-custom-claims#create-custom-claims). For more information refer to [User profile claims and scope](/api-auth/tutorials/adoption/scope-custom-claims). - This endpoint will return three HTTP Response Headers, that provide relevant data on its rate limits: - `X-RateLimit-Limit`: Number of requests allowed per minute. - `X-RateLimit-Remaining`: Number of requests available. Each new request reduces this number by 1. For each minute that passes, requests are added back, so this number increases by 1 each time.