How would I go about finding if a user ID already exists. I’m trying to implement my own username/password auth flow using jwt since documentation strongly recommends not using the built in feature; and I’m trying to find out if a userID already exists in the database upon registration.
It seems like I could try using
retrieveAccount(provider, username) -> Promise and process the promise it returns. Is there a recommended way of doing that is I guess what I’m trying to find out?
Hope the documentation will be refreshed soon.