Skip to content

Commit

Permalink
fix(docs): update users create token description
Browse files Browse the repository at this point in the history
1. The endpoint does not create a user
2. The endpoint is incorrect
  • Loading branch information
stnguyen90 committed May 15, 2024
1 parent 0365f48 commit 0c5cf36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/references/users/create-token.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Returns a token with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [PUT /account/sessions/custom](https://appwrite.io/docs/references/cloud/client-web/account#updateCustomSession) endpoint to complete the login process.
Returns a token with a secret key for creating a session. Use the user ID and secret and submit a request to the [PUT /account/sessions/token](https://appwrite.io/docs/references/cloud/client-web/account#createSession) endpoint to complete the login process.

0 comments on commit 0c5cf36

Please sign in to comment.