oauth2

  1. josejad

    B4A Class [class][B4X] Microsoft OAuth2

    Hi there: I've adapted Erel's Google Oauth2 class to login with Microsoft, adapting the code from this post (thanks @stu14t) For now, it's just working on B4A. It works in B4A and B4J, not tested in B4i. Probably with @Erel help it will work in B4i. MicrosoftOAuth2 class takes care of several...
  2. josejad

    Android Question [SOLVED] Microsoft oAuth2 Login

    Hi, from this post: I want to try to login in my app with our work Microsoft account. I've seen no examples on the forum, so I will try to do it with your help. I will try to follow this link from Microsoft. After Register an application with the Microsoft identity platform I've started with...
  3. DaOel

    Android Question Error when using okhttpUtils2 v3.04 from receiver. Code Line OAuth2_AccessTokenAvailable.

    I want to send Email Reminders in my app. I succesfully tried it from an activity. Now I want to send it from a receiver in the background. The 'ScheduledEmailReceiver' calls himself via Private Sub Receiver_Receive (FirstTime As Boolean, StartingIntent As Intent) '[...]...
  4. DaOel

    Android Question Email Function - Based on Erels OAuth Mechanism fails in bigger app

    Hello, I downloaded the project in erel's tutorial here: https://www.b4x.com/android/forum/threads/b4x-sending-emails-with-gmail-rest-api.81736/#content Everything works nicely. But once I try to implement it in my bigger own project the following problem happens: My App opens the webview and...
  5. Sandman

    Relevant if using OAUTH2 to communicate with Gmail

    I just read this article, and it seemed relevant for the people here that plan on using OAUTH2 for Gmail. http://www.pmail.com/newsflash.htm I should point out that it might be that this is relevant only if you plan on storing data on a server. It might not be relevant if you're simply making...
  6. mmieher

    Android Question Google oAuth2 B4xPages CallFromResume

    How does one do this from a B4XPages project without cluttering up the Main module (which we are not supposed to do): oauth2.CallFromResume(Activity.GetStartingIntent) oAuth2 is initialized/used in a B4XPage. Marc
  7. Dave O

    Android Question Google Drive / Oauth - handling if they close the permissions web page?

    Thanks to this post about Google Drive from @fredo , I've got Google Drive working in my app for backing up and restoring data files. Question: What happens if the user, when they're prompted by OAuth2 to authenticate (login with their Google account and give my app permission to access their...
  8. alain bertrand

    Android Question Oauth2 multiple scopes (HowTo)

    An app's activity uses Modules GoogleDrive.bas and GoogleOAuth2 to backup/restore SQLite.db. 100% working. My aim is to make another activity sending Mail. Gmail service is added in Google console. I'm in total confusion. At each Activity_Create (at firsttime) oaut2.initialize(Me) it's own scope...
  9. F

    Android Question Google Cloud Storage upload

    Hello all, What I'd like to accomplish is to simply upload a file (zip) to a bucket that I've already created on Google Cloud Storage. REST API URI is given as: https://www.googleapis.com/upload/storage/v1/b/[BUCKET_NAME]/o?uploadType=media&name=[OBJECT_NAME] I do understand that I need...
  10. L

    iOS Question Has anyone implemented oauth2 with Strava

    I'm trying to connect to Strava but am very confused about the oauth2 implementation. Has anyone any experience with this or any code they could share. Thank you
  11. B

    B4J Question OAuth2 auth

    Does anyone know how I can authenticate OAuth2 on the API at https://api.harpercollins.com/exp/oauth2/v1/access_token_cors/
  12. V

    Android Question Google Drive library

    Because now "It is no longer possible to use WebView to implement Google's OAuth2 authentication.", this means that the "libGoogleDrive" library can no longer be used to connect and work with Google Drive? https://www.b4x.com/android/forum/threads/work-with-google-drive.58805/ Thanks
Top