Integrate popups in another app and authentication

I have two apps that I am trying to work with together. App 1 is my main app with all of my data and popups. App 2 is a related company that I am trying to integrate with App 1. I am trying to access the popups in app 2 either via iFrame or navigating to a 3rd party website. But my popups in App 1 require the user to be logged in to App 1. I do not want to have to force the user to log into App 1 every time they access via App 2. I have the users access token that I generated in App 2 for App 1, but I cannot seem to use the access token to log in - only for making api/data calls.

Question:

  1. Is there a way to use the API access token to log the user in on the front end? I do not think so, but thought I would ask.
  2. Any other ideas on a way to authenticate a user without making them login if i have their email/password? I thought of sending the username/password via URL parameters but that does not seem secure?
  3. Side note…Is there a way to access Attributes of option sets via the data api? When accessing my data via App 2 it would be much easier to see the attributes i setup in App 1 but I do not see anyway of seeing the attributes via the API.

Thank you!

1 Like

Hi @bhage,

Have a look at this article: Sub-apps | Bubble Docs