From c8effcdd7de81c8898cd9c3ee9bf26999d9a5b67 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Mon, 5 Feb 2024 12:42:54 +0000 Subject: [PATCH] chore: update docs --- docs/references/account/create-token-oauth2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/references/account/create-token-oauth2.md b/docs/references/account/create-token-oauth2.md index 417496e902..92b8a6232f 100644 --- a/docs/references/account/create-token-oauth2.md +++ b/docs/references/account/create-token-oauth2.md @@ -1,5 +1,5 @@ Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed. -If authentication succeeds, `userId` and `secret` of a token will appended to the success URL as query parameters. These can be used to create a new session using the `account.createSession` endpoint. +If authentication succeeds, `userId` and `secret` of a token will be appended to the success URL as query parameters. These can be used to create a new session using the [Create session](https://appwrite.io/docs/references/cloud/client-web/account#createSession) endpoint. A user is limited to 10 active sessions at a time by default. [Learn more about session limits](https://appwrite.io/docs/authentication-security#limits).