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
{{ message }}
This repository was archived by the owner on Aug 27, 2020. It is now read-only.
Currently, we're authenticating; login and logout, using auth mutations, then the GraphQL schema is responsible evaluate what to do if there is no :current_user in the GraphQL context in the resolvers.
Perhaps we could use Guardian.Plug.EnsureAuthenticated to avoid clients with no authentication to reach the GraphQL schema at all.
Currently, we're authenticating; login and logout, using auth mutations, then the GraphQL schema is responsible evaluate what to do if there is no
:current_userin the GraphQL context in the resolvers.Perhaps we could use
Guardian.Plug.EnsureAuthenticatedto avoid clients with no authentication to reach the GraphQL schema at all.🤔