Embed presentation
Download as PDF, PPTX


































































































![© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 99
OpenID Connect
// Decode the ID Token Payload
$id_token = $response[‘id_token’];
list($header, $payload, $signature) = explode($id_token);
$userData = base64_decode($payload);
{!
"iss":"accounts.google.com",!
“email_verified":"true",!
"email":"jsmith@example.com",!
"sub":"10769150350006150715113082367",!
"azp":"xyz.apps.googleusercontent.com",!
// ...!
}](https://image.slidesharecdn.com/osconoauth-140725114509-phpapp02/75/OAuth2-The-Swiss-Army-Framework-99-2048.jpg)
![© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 100
!
Scope Type Description
sub string Subject - Identifier for the End-User at the Issuer.
name string End-User's full name in displayable form including all name parts, possibly including titles and suffixes
given_name string Given name(s) or first name(s) of the End-User.
family_name string Surname(s) or last name(s) of the End-User.
middle_name string Middle name(s) of the End-User.
nickname string Casual name of the End-User
preferred_username string Shorthand name by which the End-User wishes to be referred to at the RP
profile string URL of the End-User's profile page. The contents of this Web page SHOULD be about the End-User.
picture string URL of the End-User's profile picture. This URL MUST refer to an image file
website string URL of the End-User's Web page or blog.
email string End-User's preferred e-mail address.
email_verified boolean True if the End-User's e-mail address has been verified; otherwise false.
gender string End-User's gender. Values defined by this specification are female and male.
birthdate string End-User's birthday, represented as an ISO 8601:2004 [ISO8601-2004] YYYY-MM-DD format.
zoneinfo string String from zoneinfo [zoneinfo] time zone database representing the End-User's time zone.
locale string End-User's locale
phone_number string End-User's preferred telephone number.
phone_number_verified boolean True if the End-User's phone number has been verified; otherwise false.
address JSON object End-User's preferred postal address.
updated_at number Time the End-User's information was last updated.
OpenID Connect](https://image.slidesharecdn.com/osconoauth-140725114509-phpapp02/75/OAuth2-The-Swiss-Army-Framework-100-2048.jpg)




The document discusses OAuth 2.0, emphasizing its role in authorization and authentication through the exchange of tokens between users, clients, and servers. It outlines different grant types for obtaining access tokens, including personal access tokens, client credentials, password credentials, and authorization codes, while describing their use cases and difficulties. The presentation highlights the importance of not requiring users to authenticate with passwords and introduces advanced concepts like refresh tokens and JWTs for enterprise service accounts.


































































































![© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 99
OpenID Connect
// Decode the ID Token Payload
$id_token = $response[‘id_token’];
list($header, $payload, $signature) = explode($id_token);
$userData = base64_decode($payload);
{!
"iss":"accounts.google.com",!
“email_verified":"true",!
"email":"jsmith@example.com",!
"sub":"10769150350006150715113082367",!
"azp":"xyz.apps.googleusercontent.com",!
// ...!
}](https://image.slidesharecdn.com/osconoauth-140725114509-phpapp02/75/OAuth2-The-Swiss-Army-Framework-99-2048.jpg)
![© 2014 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 100
!
Scope Type Description
sub string Subject - Identifier for the End-User at the Issuer.
name string End-User's full name in displayable form including all name parts, possibly including titles and suffixes
given_name string Given name(s) or first name(s) of the End-User.
family_name string Surname(s) or last name(s) of the End-User.
middle_name string Middle name(s) of the End-User.
nickname string Casual name of the End-User
preferred_username string Shorthand name by which the End-User wishes to be referred to at the RP
profile string URL of the End-User's profile page. The contents of this Web page SHOULD be about the End-User.
picture string URL of the End-User's profile picture. This URL MUST refer to an image file
website string URL of the End-User's Web page or blog.
email string End-User's preferred e-mail address.
email_verified boolean True if the End-User's e-mail address has been verified; otherwise false.
gender string End-User's gender. Values defined by this specification are female and male.
birthdate string End-User's birthday, represented as an ISO 8601:2004 [ISO8601-2004] YYYY-MM-DD format.
zoneinfo string String from zoneinfo [zoneinfo] time zone database representing the End-User's time zone.
locale string End-User's locale
phone_number string End-User's preferred telephone number.
phone_number_verified boolean True if the End-User's phone number has been verified; otherwise false.
address JSON object End-User's preferred postal address.
updated_at number Time the End-User's information was last updated.
OpenID Connect](https://image.slidesharecdn.com/osconoauth-140725114509-phpapp02/75/OAuth2-The-Swiss-Army-Framework-100-2048.jpg)


