Set group scopes for profile API

GIP users may need to have access to the Profile API in order to create a user profile, update their details, and avatar.

Before you begin

The Profile API has several scopes. In this task we focus on the profile.me scope, which is required by users to access the ConsoleApp. In the next task, Set group scopes for app using a service, you will get to see how to use other profile scopes.

In this task you will configure user access to the Genero Console App:
  • you test for access to the ConsoleApp using the application URL.
  • you set the profile.me scope for your user group.
  • you complete the task by testing again for access to the ConsoleApp.
  1. Start the Genero Console App
    The ConsoleApp App is located at http://host:port/gas/ua/r/admin/ConsoleApp.
    Tip: Select the Console Application link from the GAS demos page at http://host:port/gas/demos.html.
    At the log-in page enter the log-in details for the user ("UserA") you created in Create a user group.
    You get an access is denied message. This is expected.
    Access denied : some scopes are required
  2. Log in to the ConsoleApp as administrator.
  3. Select Groups > Manage groups.
  4. From the Group List page, select the group name you created previously in Create a user group.
  5. Double click (or click Modify) to open the Group page.
  6. Select the profile.me scope.

    Scopes are listed in the rows under the API, Scope, and Description headings. When finished click Save.

Test user access to the Console App:

Repeat step 1 to check that the authorized user ("UserA") you created in Create a user group can access the Console App. You should be able to create a user profile (Users > Update me menu) now by entering details in the First name, Last name, and Email fields.