B4A Class [class][B4X] Google OAuth2 - Erel    Mar 19, 2024   (43 reactions)   tags: wait, Google GoogleOAuth2 class is compatible with B4A, B4i and B4J (new).
It is no longer possible to use WebView to implement Google's OAuth2 authentication.
The solution is to open the default browser and... B4J Question [SOLVED] Google Oauth2 And Refresh Token - Star-Dust    Mar 14, 2024 When I ask for the token following Erel's example (here) it works correctly and tells me that th... B4J Code Snippet Google OAuth2 authorization token - Erel    Dec 3, 2020   (11 reactions) Some of Google online services no longer allow the access token to be sent as a query parameter. You will get an error similar to: "The OAuth token was received in the query string, which this API forbids for response formats other than JSON or XML. If possible, try sending the OAuth token in the Authorization header instead." The solution is to send it in the authorization header...: 'this code is from the tool that downloads the Google Sheet translation table and prepares it for... Bug? GoogleOAuth-Class - Support access_type=offline - DonManfred    Mar 19, 2024   (3 reactions) Here i posted a comment in a problem-thread.
https://www.b4x.com/android/forum/threads/solved-google-oauth2-and-refresh-token.159898/post-982109
The solution is to add "access_type":"offline" to the Authenticaterequest.
You get no RefreshToken with new projects. They use... B4A Question [SOLVED] [B4X] Google OAuth2, how to get and apply the profile photo - Cableguy    Aug 5, 2024 Hi guys,
I'm trying to get the avatar or profile photo, whatever you want to call it, using the OAuth2 class, but Not getting very far...
here's what I've tried, no luck.:
Dim avatar As Map = map.Get("cover_photos")
If avatar.IsInitialized Then
Dim my_avatar As Bitmap = avatar.Get(0)
my_avatar.Initialize2(avatar.Get("value"... B4A Question Google oAuth2 - Access Blocked, the request is invalid - aaronk    Dec 11, 2023 Hi,
I am trying the Google oAuth2 for the first time.
I came across the following, and followed the steps from the link below:
https://www.b4x.com/android/forum/threads/class-b4x-google-oauth2... only changed the following:
Google Console
Created a new project. I called it 'PeopleAPITest... B4J Question GoogleOAuth NonUI app - aaronk    Jul 23, 2017 Hi,
I am using GoogleOAuth2 with my B4J app (Non-UI).
Since my app is an nonUI app it can't open the web browser and authorize the app,wWhen using:
Private Sub Authenticate
#if B4J
PrepareServer
#End If
Dim link As String = BuildLink("https://accounts.google.com/o/oauth2/v2/auth", _
CreateMap("client_id": mClientId, _
"redirect_uri"... B4A Question Google OAuth2 - Error 400: redirect_uri_mismatch - JOTHA    Jul 4, 2021 Hello Forum,
I used the Example Google OAuth2 from Erel, but I get this Error 400... on this case.
I want to have access to Google Sheets, so I tried first the example with "Contacts"... B4A Tutorial OAuth 2.0 / Google web services tutorial - Erel    May 11, 2017   (2 reactions) This tutorial is no longer relevant. Google doesn't allow using WebView to access the server response. Updated tutorial: https://www.b4x.com/android/forum/threads/class-b4x-google-oauth2.79426... B4J Question Connection Refused Error for Google OAuth2 on local host - Tim Chapman (first post)    Jan 22, 2025 Hi Erel,
I am getting nowhere with this so far. I will have to fiddle with this some more. I click Display Data in the app. A few prompts come up to which I respond Continue. I click the box to allow google to give my birthday then continue. It just churns and does not complete the request... Page: 1   2   3   4   5   |