Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview :

...

Now based on new requirement there are some changes in new request body and state user identity.

Changes in request :

Old Existing requestNew request
channelState ID
userNameExternal User ID
firstNameExternal school (org) ID
lastNameName
phoneRoles
email

...

Existing JWTNew JWT
{
"jti": "261263cd-3a0e-4aee-8faf-6d9d9eb14bb1",
"iss": "c4923f5285ff447cbf13805423a1e98a",
"sub": "manzarul07+110332",
"aud": "https://staging.ntp.net.in",
"iat": 1499405029,
"exp": 1599405029,
"name": "Harish kumar Gangula",
"email": "t4harishkumar16@test.com",
"email_verified": true,
"phone_number": "8884930864",
"phone_number_verified": true,
"redirect_url": "https://staging.ntp.net.in/profile"

}

{
"jti": "261263cd-3a0e-4aee-8faf-6d9d9eb14bb1",
"iss": "<replace with id provided by at registration time>",
"sub": "user_external_id",
"aud": "<base_url>",
"iat": 1498556656,
"exp": 1498560256,
"name": "Some User",
"state_id": "state",
"school_id": "pre_created_school_external_id",
"redirect_uri": "<base_url>/resources",

"version":"v1"
}



Request keyMapped 
State ID channel
External User IDexternalId
External school (org) IDorganisationIdorg external id
NameFirstName

Current SSO login work flow:

...