Skip to content

Commit 1da3475

Browse files
committed
doc: Update readme.md
1 parent f1982e9 commit 1da3475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ POST http://localhost:8000/oauth2/token/
133133

134134
> Note: `refresh_token` may be absent depending on the provider configuration.
135135
136-
The response payload is produced by `TOKEN_PAYLOAD_HANDLER`, which issues JWTs via `djangorestframework-simplejwt` and returns the provider’s tokens.
136+
The response payload is generated by `TOKEN_PAYLOAD_HANDLER`, which issues JWTs via `djangorestframework-simplejwt` and returns the provider’s tokens.
137137
The `api` object contains tokens for authenticating against **your API**; the `provider` object contains tokens for the **provider**.
138138

139139
Calling `/oauth2/token/` will also ensure a user exists in your database. This is handled by `TOKEN_USERINFO_HANDLER` (defaults to `simple_oauth2.utils.get_user`). It first tries to match a user via the `sub` claim from the ID Token; otherwise, it uses claims/UserInfo to retrieve or create a user.

0 commit comments

Comments
 (0)