Hi there! I have an app that uses the basic login, where user just types email and password, and then, a action “log the user in“ log in the user on frontend.
(I will be sharing a visual sketch to help following my thoughts and app architeture flow)
However, i need now to integrate my bubble app with a another dev app, separated from bubble, that already has a more robust login system, and i wanted that when a user log in by the another app, log in the same user onto my bubble app.
For be simple
My app: App x
App that i will integrate: App Y
So, i had an idea to create an api workflow that let the App Y send a request to log in onto app X, and then, App X wont have a login page, once it’s set up on App Y, working like microsoft/google login flow. Exactly like a third party login system.
But, i don’t know how to save user token in a way that browser (or any mechanism) remembers whom logged in onto app x. And also, the api workflow just generates the token, so, user is not logged in directly.
So, reviewing: I need when users that access App Y and Successfully log in, be redirect for app X and be propely logged in. And my idea is a API workflow where i can generate a access token, but i still have some doubts on using it.
Someone had any experience in a case like this? Any idea that helps me is totally welcome
