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
This error can be reproduced if you request additional policy rules for the user when logging in
module Mutations
class SignIn < BaseMutation
argument :input, Types::SignInInput, required: true
type Types::Payloads::SignInPayload
def resolve(input:)
signin_user = SigninUser.call(input.to_h)
if signin_user.success?
context[:current_user] = result.user
signin_user
else
execution_error(error_data: signin_user.error_data)
end
end
end
end
The text was updated successfully, but these errors were encountered:
Vadim-Kurnatovskiy
changed the title
Need to remove field :me from SignInPayload
Need to remove 'field :me' from SignInPayload
Oct 28, 2022
Vadim-Kurnatovskiy
changed the title
Need to remove 'field :me' from SignInPayload
Need to provide authenticated user to context in SignIn mutation
Oct 28, 2022
ArthurZaharov
changed the title
Need to provide authenticated user to context in SignIn mutation
Need to provide authenticated user to context in SignIn and SignUp mutation
Jun 6, 2023
This error can be reproduced if you request additional policy rules for the user when logging in
co-authored @AnnaAleynik
The text was updated successfully, but these errors were encountered: