Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app/views/docs/authentication.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,11 @@ try await account.createOAuth2Session(provider: "amazon")</code></pre>
If there is already an active anonymous session, the new session will be attached to it. If there are no active sessions, the server will attempt to look for an account with the same email address as the email received from the OAuth2 provider and attach the new session to the existing account. If no matching account is found - the server will create a new account.
</p>

<div class="notice">
<h3>Note</h3>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On second thought, can you suggest some better titles for this than "Note"? We don't use generic titles like this.

<p>You should select <b>web application</b> as the application type in your OAuth2 provider, even if you're building a mobile or flutter application. The OAuth2 provider will communicate with Appwrite directly, which is a web application.</p>
</div>

<h3><a href="/docs/authentication#phone" id="phone">Phone</a></h3>

<p>
Expand Down