I have a standalone Android Wear app which has a login for in it but I'm finding the process really difficult. I don't want to create a mobile module in my app to request email and password from the user. I also found this which I think explains kinda what I want to do but it doesn't guide me at all.
Do you guys know a way to request email and password from users on their phone without creating a mobile module?
The Sign in on the phone flow is available for OAuth 2.0 apps as per the documentation:
This is done by using the
OAuthClient
andsendAuthorizationRequest()
to open up a WebView on the phone to your OAuth page. The Wear OAuth sample provides a full example of how this works.