Skip to content

Commit

Permalink
Add clarifications on locale and username for token grant docs
Browse files Browse the repository at this point in the history
  • Loading branch information
subiabre committed Apr 29, 2024
1 parent 965dd8c commit 35293f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):
Expand Down

0 comments on commit 35293f6

Please sign in to comment.