hi,
i have trouble with oAuth for Google Drive (because it is no longer possible to use WebView for oAuth)
I have
- import this Class: https://www.b4x.com/android/forum/threads/class-b4x-google-oauth2.79426/
- add Manifest
- generate OAuth Client ID
- use Code:
wait for Init finisch...
the oAuth Page is Display, User allowed Access, no Access Token will display? Browser open the Google Page.
The CallFromResume will not be called (in Debug mode)??
please Help
i have trouble with oAuth for Google Drive (because it is no longer possible to use WebView for oAuth)
I have
- import this Class: https://www.b4x.com/android/forum/threads/class-b4x-google-oauth2.79426/
- add Manifest
- generate OAuth Client ID
- use Code:
B4X:
Dim oAuth As GoogleOAuth2
Dim scope As String
Dim clientID As String
scope = "https://www.googleapis.com/auth/drive"
clientID = "xxx-xxxxxxxl.apps.googleusercontent.com"
oAuth.Initialize(Me,"oauth",clientID,scope)
wait for Init finisch...
B4X:
oAuth.GetAccessToken
the oAuth Page is Display, User allowed Access, no Access Token will display? Browser open the Google Page.
The CallFromResume will not be called (in Debug mode)??
please Help