Add message in onAuthenticationError

Bug #1553771 reported by Sam Segers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Online Accounts setup for Ubuntu Touch
New
Undecided
Unassigned

Bug Description

I had problems trying to see what the error was in my provider using the standard OAuth plugin component.
I used the debugging info of https://developer.ubuntu.com/en/start/platform/guides/online-accounts-developer-guide/ but it only gave a vague error code.

Adding the error message to the output helped me find that the problem I was facing was that the 'state' property isn't passed to the redirection url from my provider using OAuth2.0 (http://tools.ietf.org/html/rfc6749#appendix-A.5).

Related branches

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.