Common Problems

If you are using CORS in your Rails API make sure that Access-Control-Expose-Headers includes access-token, expiry, token-type, uid, and client. For the rack-cors gem this can be done by adding the following to its config. More information can be found here.

:expose => ['access-token', 'expiry', 'token-type', 'uid', 'client']