Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Authentication using Glass

We have an existing Android and iOS application that consumes REST API from our servers. The API provides a token to the authenticated users after they log in using their credentials (username, password combo.) from the mobile applications.

Now, we're planning to create a Google Glass application for the same. In this case, we'd like to use the existing REST API along with Glass also. The Glass app will be built natively using the GDK.

My concern is, how would the users be able to input credentials? Because, users may have signed up for the service using non-google accounts?

Many thanks in advance.

like image 849
Ragunath Jawahar Avatar asked Aug 17 '26 17:08

Ragunath Jawahar


1 Answers

At the moment, there is no supported way for apps made with GDK Early Access to authenticate the user or provide a way to connect the Glass account to your auth system. The Glass team has indicated such methods are coming, however - the Strava Cycling app, for example, does this, and it is expected that a similar feature will become widely available as the GDK matures.

Strava Cycling appears to get its credentials at the time you setup the app through MyGlass. When you turn it on it redirects you to a website to log into Strava's service before completing the install.

like image 114
Prisoner Avatar answered Aug 21 '26 18:08

Prisoner



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!