diff --git a/docs/references/account/create-magic-url-session.md b/docs/references/account/create-magic-url-session.md index 78bf99d55e..6e7e9bc706 100644 --- a/docs/references/account/create-magic-url-session.md +++ b/docs/references/account/create-magic-url-session.md @@ -1 +1,3 @@ -Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [PUT /account/sessions/magic-url](/docs/client/account#accountUpdateMagicURLSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour. If you are on a mobile device you can leave the URL parameter empty, so that the login completion will be handled by your Appwrite instance by default. \ No newline at end of file +Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [PUT /account/sessions/magic-url](/docs/client/account#accountUpdateMagicURLSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour. If you are on a mobile device you can leave the URL parameter empty, so that the login completion will be handled by your Appwrite instance by default. + +A user is limited to 10 active sessions at a time by default. [Learn more about session limits](/docs/authentication#limits). \ No newline at end of file diff --git a/docs/references/account/create-phone-session.md b/docs/references/account/create-phone-session.md index 58cf35265d..c4190c804f 100644 --- a/docs/references/account/create-phone-session.md +++ b/docs/references/account/create-phone-session.md @@ -1 +1,3 @@ -Sends the user an SMS 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/phone](/docs/client/account#accountUpdatePhoneSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes. \ No newline at end of file +Sends the user an SMS 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/phone](/docs/client/account#accountUpdatePhoneSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes. + +A user is limited to 10 active sessions at a time by default. [Learn more about session limits](/docs/authentication#limits). \ No newline at end of file diff --git a/docs/references/account/create-session-email.md b/docs/references/account/create-session-email.md index 03218ac6a9..c4b876495b 100644 --- a/docs/references/account/create-session-email.md +++ b/docs/references/account/create-session-email.md @@ -1 +1,3 @@ -Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user. \ No newline at end of file +Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user. + +A user is limited to 10 active sessions at a time by default. [Learn more about session limits](/docs/authentication#limits). \ No newline at end of file diff --git a/docs/references/account/create-session-oauth2.md b/docs/references/account/create-session-oauth2.md index e909899371..fc8e09fec0 100644 --- a/docs/references/account/create-session-oauth2.md +++ b/docs/references/account/create-session-oauth2.md @@ -1,3 +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 there is already an active session, the new session will be attached to the logged-in account. If there are no active sessions, the server will attempt to look for a user with the same email address as the email received from the OAuth2 provider and attach the new session to the existing user. If no matching user is found - the server will create a new user.. + +A user is limited to 10 active sessions at a time by default. [Learn more about session limits](/docs/authentication#limits). \ No newline at end of file