You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new mobile app login path is described in #49 and was added in 1136e4c - basically it allows for a separate login path that redirects back to a mobile app URL scheme with a special login access token for the app. We now need to support storing and using this access token in the app. So the following things need to happen:
If no access code is in storage, show a welcome page with a login button.
When the login button is pressed open a browser (or show a webview overlay, not sure which one is best) to http://www.breakerapp.com/application/startAuthForMobileApp - this will run through the login process in the browser and eventually redirect to breaker://auth/[access_code]
Configure app to intercept that URL scheme (or if you decide to use the webview, watch the requests that are loaded in the webview for a URL of that type - actually the webview might be a better idea rather than trusting the system browser) and parse out the access code and store it in the app's local storage.
For every request to the server afterwards include the http header "X-BreakerAccessCode: [access_code_that_you_stored_above]" - the server will then recognize the user that logged in automatically.
The text was updated successfully, but these errors were encountered:
The new mobile app login path is described in #49 and was added in 1136e4c - basically it allows for a separate login path that redirects back to a mobile app URL scheme with a special login access token for the app. We now need to support storing and using this access token in the app. So the following things need to happen:
The text was updated successfully, but these errors were encountered: