Thanks for the info Kato 👏 We will need to do email/pass auth most likely. One idea I had wouldn't require storing any shared credentials. At least I don't think it would. Here's an example of what I was thinking:
- When Bob signs in the "Main" App, he subscribes to "App A", so we duplicate his Main user in App A (using some random long ugly password that he would never need to know)
- Bob clicks a button to access "App A", which would make an HTTP call to a cloud function like /sign-in-to-app-a
- In cloud function, Main app verifies Bob is signed in, and if signed in, makes HTTP call to App A, like /get-temp-sign-in-token
- App A creates a JWT and sends that token back to Main App
- Main App returns that JWT to the UI, and Bob is redirected to App A and the JWT will auto log him in to App A
It seems like it could work ok, but if he accesses 3 sub apps, and wants to logout, signing out of all of them at once seems a little weird. I was just hoping there would be a way I could just have one auth user to share across all apps, but it sounds like it's probably not so simple. I hope I explained that scenario clearly. Thanks so much for taking the time to respond.
Kevin