Two Apps using the same user account

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Two Apps using the same user account



I have two apps which use the same user account. Like Amazon with "Amazon Shopping" and "Prime Video".



I'd like the user to have the possibility, to automatically log in, in the second app - if he is logged in, in the first app.



Does anybody know how to make this in a secure way?





Use IPC to communicate between two application.
– Godfather
Aug 6 at 16:14





@Godfather And which one I should use?
– Johannes
Aug 6 at 16:20






I would suggest ContentProvider with a signature-level permission. It will make your data (such as auth tokens) accessible only to the apps signed with the same signing key.
– SqueezyMo
Aug 6 at 17:07



ContentProvider









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS