
fydc8 (fydc8) asked a question.
Hello,
We have Web Application which uses Firebase Authentication via email link only.
We want to integrate with Okta SWA. The idea of flow is: User goes to Okta > My apps - see our app, clicks on it, is taken to App Login Page URL where our App verifies that the user is the allowed user and signs them in on Firebase.
We currently do not have Firebase email&password authentication, only email link. Is above mentioned workflow possible? If yes, what would be an auth flow? I assume Okta would post a token to our page - if so, how? If we get Okta auth token, I think we should be able to verify user on Firebase based on https://firebase.blog/posts/2020/08/authenticate-with-firebase-using-okta, however I'm not sure if we need to create their identity in Firebase auth first.
If the answer to question above is we absolutely need to use email&password fields with Okta SWA, and Okta plugin will fill those and sing user in, how should we handle creating user identities on Firebase? I.e. registering users who only have Okta account but not account with our Firebase?
Thank you for clarifications. Any links to pages which answer these questions are also welcome

Hi @fydc8 (fydc8),
Thank you for posting on the Okta community page!
A SWA application is design to only insert credentials based on the CSS selectors from the login page where the user authenticates to your app. I have managed to find the below article about how to configure single field SWA app that might be useful for your use case since your application accepts only one value for logging in:
I have also looked over the documentation provided and more information about SPA can be found by accessing the below documentation:
Additionally, if you would like, you could use provisioning between Okta and the app in order to handle the registration of users based on the capabilities of your application:
------------------------------------------------------------------------------------------------------------------------------------------------
The Okta Community November newsletter is here. Get product updates and see our top contributing members.