hayfever / sorcery-jwt

JWT extension for the Sorcery authentication gem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't Use login_and_issue_token in GraphQL Mutation

carltonsmith opened this issue · comments

The login_and_issue_token method is limited to controllers, so can't be used in GraphQL mutations

Assuming you're using graphql-ruby, is this something you could use Context from your schema controller for? https://github.com/rmosolgo/graphql-ruby/blob/master/guides/queries/executing_queries.md#context

Closing due to inactivity.