Link Search Menu Expand Document

Oauth Scopes

The Oauth scopes refer to the different types of data that the third-party application can retrieve from the IRIS database. All the scopes except profile need permissions from the respective authorities mentioned below, post which the approved scopes will be added to your application.

The access token generated for the scopes authorized by the user will be valid for a maximum time of 2 hours, post which a new access token must be generated. This access token must be passed as a get parameter access_token along with the API call.

The scopes currently available are:

  1. profile(default scope)
    • Access the Name, Email address and Roll Number of the user
    • This is the default scope and no permission is required to obtain this information
  2. profile_pic
    • Access the profile picture of the user
    • Authority for approval: Dean Research and Consultancy
  3. all_students_basic_data
    • Access Basic Profile Data and profile picture of all students
    • This is subject to role access granted to the request user on IRIS
    • Authority for approval : Assistant Registrar (Academic) - I

Table of contents