Is token login /3rd party auth possible with the horizon theme? #61
|
I am trying to replace the horizon theme login with a passwordless option. However, even when login is successful with swell-js/swell-node, it does not produce a sessionToken that is valid for the horizon theme (which uses the GraphQL Library) Is there an easy way to allow token login for the horizon theme? |
Answered by
rodrigoddalmeida
Dec 30, 2022
Replies: 1 comment 1 reply
|
You should be able to use the generated mutation login($email: String, $passwordToken: String) {
loginAccount(email: $email, passwordToken: $passwordToken) {
success
}
} |
1 reply
Answer selected by
cheningD
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should be able to use the generated
password_tokenby changing theloginAccountmutation to: