You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,9 @@ Simple OAuth 2.0
2
2
3
3
Currently setup for Google API (Gmail, Google+ etc.) but should work for other OAuth 2.0 services.
4
4
5
-
1. Register and app here: https://code.google.com/apis/console/ (or other OAuth 2.0 service)
5
+
1.A Register and app here: https://code.google.com/apis/console/ (or other OAuth 2.0 service)
6
+
7
+
1.B For Google API be sure to register the Platform as "Other" and NOT "iOS" otherwise you'll get "invalid_client" error when authenticating.
6
8
7
9
2. Insert your Client ID and Client Secret in ViewController.m (and optionally change the authentication-url and token-url if you're not using Google API)
0 commit comments