Accessing another APP within mine with Oauth 2.0

Asked

Viewed 85 times

0

How to use Oauth 2.0 to change Apps. I have some Apps and I want that within it we can access other Apps (from the same provider), without having to login again.

1 answer

0

The android offers a mini tutorial on how Voce can accomplish this in development page theirs

Although the Android platform ensures that certain intents are solved with one of the built-in apps (such as Phone, E-mail or Calendar), always include a confirmation step before calling an Intent.

Attention: If you invoke an Intent and there is no application available on the device to process the application will fail.

To confirm if there is activity available to respond to Research, call queryIntentActivities() for a list of activities that can process Intent. If the returned List is not empty, Intent can be used safely.

  • I understood, however here at the company they passed me that I would have to do this using the concept of Oauth 2.0. Do you think I can do it using the Oauth 2.0, or not the need ? Because the idea is terms N apps and within one of them have some "shortcuts" to other Apps, I do not want the user when exchanging App do not login, already use the section he is logged in.

  • I believe you can, since Oauth is for authentication with your account. I recommend looking at the documentation for android, https://developers.google.com/identity/protocols/OAuth2 and https://developers.google.com/api-client-library/java/google-api-java-client/oauth2 . I believe that when creating the list of applications, Voce can pass the information of it. In the documentation they put simple examples using webservice next to OAUTH 2.0

  • particularly speaking I do not use much OAUTH because I am producing closed programs that do not require connection between each other... but the basis to call another application is this library that I mentioned... as for Oauth I will be indebted

  • quiet, your information already give me a north and I have where to look for something, value :)

  • if it was useful brand as response, so that more people can see also!

  • I rephrased my question, grateful for the attention ;)

Show 1 more comment

Browser other questions tagged

You are not signed in. Login or sign up in order to post.