[Openid-specs-ab] Other grant types and scope openid
torsten at lodderstedt.net
Mon Jul 30 09:14:56 UTC 2012
what is the difference between browser session and authentication
session given that ID token are only issued by browser flows?
Or are you saying an id token should also be issued for other grant
types (my original question)?
Am 30.07.2012 08:55, schrieb Nat Sakimura:
> ID Token is not tied to the browser session, but it is tided to the
> authentication session wherever it happened.
> It could be app that is in the session, and it could be a browser.
> The important thing is that it is tied to the user being present in
> the session.
> If you do not use ID Token, it is not an authentication session
> ID Token always returns the information about the user who
> authenticated (and authorized resource access.)
> The result of resource access (e.g., profile data) does not have to
> that of the person who authorized.
> For example, the university controller may allow access to the
> graduation record of the subject to the company
> the subject has applied to. While the profile data returns that of
> subject, the ID Token returns the
> information about the controller.
> So, as long as you want to do Authentication, you should always use
> ID Token.
> Otherwise, you need to create a proprietary API that essentially act
> the same as ID Token.
> OAuth 2.0 as is does not provide that facility.
> On Mon, Jul 30, 2012 at 3:17 PM, Torsten Lodderstedt
> <torsten at lodderstedt.net> wrote:
>> Hi all,
>> what is the expected behavior in case a client requests the scope
>> with a grant type other than code or token? For example, an app
>> request it at the token endpoint using "Resource Owner Password
>> Credentials". Given the recent discussion on refresh tokens and id
>> the id token concept seems to be tight to browser sessions. So I
>> don't see a
>> need to return an id token to apps in cases where no browser session
>> Openid-specs-ab mailing list
>> Openid-specs-ab at lists.openid.net
More information about the Openid-specs-ab