+1 pro JSON
Am 16.01.2011 08:41, schrieb Eran Hammer-Lahav:
Why is the token returned in the fragment using form-encoding? This
makes no sense. It should be a JSON string for the following reasons:
1.All token responses should be the same, which will enable returning
structured responses in the future as needed.
2.Using fragments is specifically done to accommodate the user-agent
environment, which means JavaScript. Why create extra work when
JSON.parse() does it for you for free.
Returning the authorization code alone using form-encoded in the query
still makes sense.
EHL
_______________________________________________
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