<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00008RN3lDCATOkta Classic EngineIntegrationsAnswered2024-03-25T16:00:28.000Z2022-11-28T13:15:44.000Z2022-11-29T19:52:25.000Z

fydc8 (fydc8) asked a question.

Use SWA to authenticate user in our App via Firebase auth

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


This question is closed.
Loading
Use SWA to authenticate user in our App via Firebase auth