-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to use my own method to log users in and generate SESSION_TOKEN? #48
Comments
Hej @artemsmikh thanks for bringing this up. Unfortunately we removed the pure backend integrations when we made we made the code open-source, which is the integration that is referred to. There are ways to achieve this with a small binary you could run yourself, by pulling in the session creation code: Lines 748 to 776 in 4347b6b
Maybe if you could describe the exact flow and what component calls what we can work it out. |
Hi, I was wondering if there is a way to avoid the default login system provided by Tapglue and use my own code for that. For example, I'd like to authenticate users using their phone numbers instead of emails and passwords. I have a service that checks and verifies phone numbers and all I need is to have some method (like
login
) where I could pass a phone number and a verification code and then this method would check the code using that verification service and, in case of success, generate SESSION_TOKEN and return it to the client.The docs says:
So, do you think is that possible?
The text was updated successfully, but these errors were encountered: