Re: [OAUTH-WG] Getting a username from an access id in oauth2

Hans Zandbelt <hzandbelt@pingidentity.com> Thu, 09 April 2015 22:44 UTC

Return-Path: <hzandbelt@pingidentity.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 024971B34D5 for <oauth@ietfa.amsl.com>; Thu, 9 Apr 2015 15:44:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sjqj-s1wuhO9 for <oauth@ietfa.amsl.com>; Thu, 9 Apr 2015 15:44:32 -0700 (PDT)
Received: from mail-wi0-f182.google.com (na3sys009aog118.obsmtp.com [74.125.149.244]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C72781B34D1 for <oauth@ietf.org>; Thu, 9 Apr 2015 15:44:31 -0700 (PDT)
Received: from mail-wi0-f182.google.com ([209.85.212.182]) (using TLSv1) by na3sys009aob118.postini.com ([74.125.148.12]) with SMTP ID DSNKVScAzy05CO14NKOH4yz680asEzESPoHw@postini.com; Thu, 09 Apr 2015 15:44:31 PDT
Received: by widdi4 with SMTP id di4so108925686wid.0 for <oauth@ietf.org>; Thu, 09 Apr 2015 15:44:30 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=KmNCGfTLhkgPv/JTVlJNkiHyp4Oo3EbmPeOmz38neZQ=; b=JXA/BYkv4mT409MTr0GUYnCtnTWu76/JD0G88eqGq4BanNOaMC7MlBuBwnRkBTMq06 UQr0ar7m6buqeeodExq93ke+jeGTirnmBCyJv6kMaHluKYZ0MpDSq/ZhyuVUMPvcqMqg exHq7YLinA3HjQbtCBDpKTSUu1ofrFNsMDqjCArsg9P7PMuvOYSTwfNpxonjaWx3mkYL /Ho28SZdyo3uAZ3ScKPsemnyuzQFpc5qE0fcWiTD/uH0Y3wyoJtVMv9qG7MXONTDw1js t6XFVniXh0cZZfwrYJkinA9CJ32HOn3gzla1f+HYGNBhozCi4qaxnaijtgwGoJ/hM70u 5mPw==
X-Gm-Message-State: ALoCoQnq+Z3ZnN/RLQkO8f4459S52U/xP+7cVJhzgLcWvZVYXr03v2BITgYdKWuzMCm9kKqi3xZbsA5ONjr7Ah/5ZhtrRGIWxb4vPOFIjKg0FdKhzBYpdTW/6ewcXiXWva4QwQEaTlla
X-Received: by 10.180.97.225 with SMTP id ed1mr9840107wib.17.1428619470161; Thu, 09 Apr 2015 15:44:30 -0700 (PDT)
X-Received: by 10.180.97.225 with SMTP id ed1mr9840095wib.17.1428619470082; Thu, 09 Apr 2015 15:44:30 -0700 (PDT)
Received: from [10.207.195.55] ([31.55.31.230]) by mx.google.com with ESMTPSA id js3sm199270wjc.5.2015.04.09.15.44.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Apr 2015 15:44:29 -0700 (PDT)
Message-ID: <552700CB.2030702@pingidentity.com>
Date: Thu, 09 Apr 2015 23:44:27 +0100
From: Hans Zandbelt <hzandbelt@pingidentity.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>, Phil Hunt <phil.hunt@oracle.com>, Brian Hurt <bhurt42@gmail.com>
References: <CACBEjCxukh5vr14gG4kPoLuF+=WLm90za4hTEeVGPFGKdZvyhA@mail.gmail.com> <799DB637-8C8C-4B9A-995C-C005B7491616@oracle.com> <5526C9AF.8040109@gmx.net>
In-Reply-To: <5526C9AF.8040109@gmx.net>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/AiPEnW7LKtS9W0DRpr9dgJneBc4>
Cc: "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Getting a username from an access id in oauth2
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Apr 2015 22:44:35 -0000

without further context the original question may be about retrieving 
the username of the user on whose behalf the OAuth 2.0 client is acting, 
which is a valid question with a valid (introspection) answer in a pure 
OAuth 2.0 scenario

Hans.

On 4/9/15 7:49 PM, Hannes Tschofenig wrote:
> Brian,
>
> in addition to what Phil said let me provide you with two references:
>
> * Article about user authentication and OAuth:
> http://oauth.net/articles/authentication/
>
> * OpenID Connect specification as a way to do what you seem to be
> looking for:
> http://openid.net/connect/
>
> Ciao
> Hannes
>
>
> On 04/09/2015 08:45 PM, Phil Hunt wrote:
>> This has been a long standing issue. OAuth is an authorization protocol and not an authentication protocol.
>>
>> You might want to look at OpenID Connect for an OAuth profile that addresses your case.
>>
>> Phil
>>
>>> On Apr 9, 2015, at 10:35, Brian Hurt <bhurt42@gmail.com> wrote:
>>>
>>>
>>> This is probably the wrong place to ask this question- if so, I apologize.  But I'm trying to figure out how to get a username given only an access id (and client id, etc.) in oauth2.  Is this possible, and if so, how?
>>>
>>> Thanks,
>>> Brian
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org
>>> https://www.ietf.org/mailman/listinfo/oauth
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>>
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

-- 
Hans Zandbelt              | Sr. Technical Architect
hzandbelt@pingidentity.com | Ping Identity