Skip to content

Server side customer login #556

Answered by sags95
Ojay asked this question in Help
Jul 16, 2024 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

@Ojay The only other way would be through swell-node, you can do something like this but it only works with a password:

const account = await swell.get('/accounts/:login', { email, password })

It should return an account record if available, or null if not found. But then you would have to manage the auth session.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Ojay
Comment options

@sags95
Comment options

@Ojay
Comment options

@sags95
Comment options

Answer selected by logeshswell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
3 participants