-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GITBOOK-82: change request with no subject merged in GitBook
- Loading branch information
1 parent
66c0cdb
commit 9525653
Showing
7 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+114 KB
....gitbook/assets/No Data (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (2) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+114 KB
....gitbook/assets/No Data (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (2) (2).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Connected Accounts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
description: Using the connected email scope | ||
--- | ||
|
||
# Requesting Email | ||
|
||
This guide will walk you through how to request email addresses from your user using the Email [Scope](../reference/scopes.md). | ||
|
||
### Step 1 | ||
|
||
In your application OAuth configuration make sure that email is selected in the "allowed scopes" dropdown. Make sure to save this configuration before moving to step 2. | ||
|
||
<figure><img src="../.gitbook/assets/CleanShot 2023-06-28 at 13.30.13.png" alt=""><figcaption><p>Email Scope Dropdown</p></figcaption></figure> | ||
|
||
### Step 2 | ||
|
||
When [logging in users](../getting-started/auth-flow.md) make sure you add `email` to the `scope` query param. Your auth url should look something like this `https://<rollup.id or your custom domain>/authorize?client_id=xxx&state=xxx&scope=email` | ||
|
||
### Step 3 | ||
|
||
After authenticating into your custom Rollup application, your users will we be presented with an authorization screen containing the email scope authorization request. | ||
|
||
If the user already as a connected email, this email will be automatically selected. If no email address is connected to their identity they can connect an new email address and continue.  | ||
|
||
<figure><img src="../.gitbook/assets/Dropdown.png" alt=""><figcaption><p>Email Authorization</p></figcaption></figure> | ||
|
||
### Step 4 | ||
|
||
When redirected back to your application, the [access token](../advanced/tokens.md) will now contain an authorization for email address. The email address will also be available returned in the user token via the [user info endpoint](../reference/passport-api.md#user-info). |