Adding Resource Servers for Your User Pool
Note
The Resource Servers tab appears only when you're editing an existing user pool.
A resource server is a server for access-protected resources. It handles authenticated requests from an app that has an access token. A scope is a level of access that an app can request to a resource.
In the Resource Servers tab, you can define custom resource servers and scopes for your user pool. For more information, see Defining Resource Servers for Your User Pool.
To define a custom resource server
-
Choose Add a resource server.
-
Enter the name of your resource server, for example,
Photo Server
. -
Enter the identifier of your resource server, for example,
com.example.photos
. -
Enter the names of the custom scopes for your resources, such as
read
andwrite
. -
For each of the scope names, enter a description, such as
view your photos
andupdate your photos
.
Each of the custom scopes that you define appears on the App client
settings tab, under OAuth2.0 Allowed Custom Scopes; for
example com.example.photos/read
.