[Openid-specs-mobile-profile] additional CIBA error codes?

charles.marais at orange.com charles.marais at orange.com
Wed Jan 25 15:20:28 UTC 2017


Hi,

Wouldn't it be relevant to reuse OAuth error codes when relevant ? 
(https://tools.ietf.org/html/rfc6749#section-4.1.2.1)

Especially for :

_general_failure vs server_error : _

server_error
                The authorization server encountered an unexpected
                condition that prevented it from fulfilling the request.
                (This error code is needed because a 500 Internal Server
                Error HTTP status code cannot be returned to the client
                via an HTTP redirect.)

and

_consent_failure vs access_denied :_

access_denied
                The resource owner or authorization server denied the
                request.

Aligned with "In general endpoint should not be too chatty about 
authentication errors or information about users..." !

Charles.



Le 25/01/2017 à 14:05, Axel.Nennker at telekom.de a écrit :
> Hi all,
>
> There is a proposal to add the following error codes to CIBA:
>
> general_failure : any unrecognized errors, or system level failures.
> consent_failure : user rejected the consent  but authenticated successfully.
> invalid_polling_token : polling token received  by  ID GW is erroneous , invalid
> response_already_sent :  second time re-use of the same polling token.
>
> I think that general_failure is not needed because that is HTTP 500 already.
> I think that invalid_polling_token is not needed because that could be just treated as an OAUTH2 client authentication failure.
>
> Not sure about the other two. In general endpoint should not be too chatty about authentication errors or information about users...
>
> "response_already_sent" is something like an authentication error again.
>
> "consent_failure" gives information about the user which they not necessarily want to reveal...
>
> WDYT?
>
> //Axel
>
>
> From: Openid-specs-mobile-profile [mailto:openid-specs-mobile-profile-bounces at lists.openid.net] On Behalf Of Nennker, Axel
> Sent: Wednesday, January 25, 2017 1:56 PM
> To: openid-specs-mobile-profile at lists.openid.net
> Subject: [Openid-specs-mobile-profile] CIBA error codes
>
> Hi all,
>
> Gonza took the time and updated the CIBA error codes.
>
> Please review.
> https://xml2rfc.tools.ietf.org/cgi-bin/xml2rfc.cgi?Submit=Submit&format=ascii&mode=html&type=ascii&url=https://bitbucket.org/openid/mobile/raw/tip/draft-mobile-client-initiated-backchannel-authentication.xml?at=default#auth_error_response
>
> kind regards
> Axel
> _______________________________________________
> Openid-specs-mobile-profile mailing list
> Openid-specs-mobile-profile at lists.openid.net
> http://lists.openid.net/mailman/listinfo/openid-specs-mobile-profile
>

-- 

*MARAIS Charles *
*Orange Labs Lannion*
Tel : +33 (0)2 96 07 24 18
charles.marais at orange.com <mailto:charles.marais at orange.com>
Orange Labs Lannion
2, avenue Pierre Marzin
22307 LANNION Cedex - France



_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-specs-mobile-profile/attachments/20170125/f7554760/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: orange_logo.gif
Type: image/gif
Size: 1264 bytes
Desc: not available
URL: <http://lists.openid.net/pipermail/openid-specs-mobile-profile/attachments/20170125/f7554760/attachment-0001.gif>


More information about the Openid-specs-mobile-profile mailing list