google / gtm-oauth2

Google Toolbox for Mac - OAuth 2 Controllers
Apache License 2.0
126 stars 70 forks source link

additionalAuthorizationParameters not exposed from Touch View Controller #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Need to add additional query string parameter to the authentication HTML URL 
request. The ability to add parameters exists in the GTMOAuth2SignIn class, 
however the view controller instantiates the signIn instance and therefore 
requires you to subclass the view controller in order to set 
additionalAuthorizationParameters on the sign in object.

This is for signing into LinkedIn; they require an additional 'state' query 
string parameter. https://developer.linkedin.com/documents/authentication

What is the expected output? What do you see instead?
Ability to affect the auth URL without having to subclass the OAuth2 web view 
controller.

What version of the product are you using? On what operating system?
iOS 6.1, bringing in the source via CocoaPods.

Please provide any additional information below.

Thanks,
Rene

Original issue reported on code.google.com by rene.cac...@mutualmobile.com on 25 Mar 2013 at 11:57

GoogleCodeExporter commented 9 years ago
Please close this issue. Didn't see the public signIn property on the OAuth2 
view controller. Apologies for the open issue.

Thanks,
Rene

Original comment by rene.cac...@mutualmobile.com on 26 Mar 2013 at 12:03

GoogleCodeExporter commented 9 years ago

Original comment by grobb...@google.com on 26 Mar 2013 at 12:26

GoogleCodeExporter commented 9 years ago
Can you share your sample code - I couldn't get it to work.

Original comment by y...@taguri.com on 19 Jun 2013 at 11:39

GoogleCodeExporter commented 9 years ago
Hi, my apologies, this was a false alarm.

Original comment by rene.cac...@mutualmobile.com on 20 Jun 2013 at 10:00