Skip to content

Shouldn't this gem override the Devise SessionsController ? #86

Description

@zedtux

When I create a session, using this gem, I'm expecting to get the access token, refresh token and fingerprint as response but got the user instead.

Shouldn't this gem override the Devise SessionsController in order to return the tokens and add a /me and /renew endpoints allowing one to create a session, get the tokens, retrieving the user's data and renew token from the Devise controller?

In other words, how to use this gem with a React (or whatever JavaScript) application?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions