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? |
Beta Was this translation helpful? Give feedback.
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
}
} |
Beta Was this translation helpful? Give feedback.
You should be able to use the generated
password_token
by changing theloginAccount
mutation to: