From 35293f6c6f1e6a9f595ff30d3fb90e7ff01dcaee Mon Sep 17 00:00:00 2001 From: Daniel Subiabre Date: Mon, 29 Apr 2024 16:42:44 +0200 Subject: [PATCH] Add clarifications on locale and username for token grant docs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8861b53..4aa9a4a 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Run all these commands under the Docker service. E.g.: `docker exec goteo-oauth_ - Type: OAuth 2.0 - Token name: Any name - Grant type: Use "Client Credentials" - - Access Token URL: "http://127.0.0.1:52000/token" + - Access Token URL: "http://127.0.0.1:52000/{locale}/token" (Replace `{locale}` with an actual locale string). - Client ID: The one you've just obtained in step 1 - Client secret: The one you've just obtained in step 1 - Scope: Use "TEST", or any that's in `config/packages/league_oauth2_server.yaml` at the `league_oauth2_server.scopes.available` entry @@ -81,7 +81,7 @@ Create a new OAuth2 client: At step 2, do the following: - Grant type: "Password Credentials" -- Username: the user's email +- Username: the user's username (id) or email - Password : Type the user's password ## Test OAuth2 "authorization_code" grant (Postman):