You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To publish our plugin we must present its usage by including examples to it. Currently two main scenarios come to my mind that can be represented in an example each. The second one combines the app where the user signs in using passkeys with firebase (this serves data to the app). As Firebase is probably the default solution for small teams and individual programmers we should also show how to use passkeys with Firebase.
Description
Before we write the example we must think of how the app will communicate.
Then we can put a few ideas together what the example should include.
Implementation idea
register and login can be done the normal way (direct communication to Corbado Frontend API)
the login call returns a Corbado token
this token can be exchanged to a Firebase JWT token by calling a Firebase cloud function => this cloud function must validate the token (either by just looking at it or by calling Corbado's API) and must create the Firebase JWT token
the cloud function will be written and provided by us (Firebase has a concept of "extensions" for that and can be installed by users by a click
finally the app can call signInWithCustom token (using the Firebase JWT) => now all firebase services can be used just as normal
The text was updated successfully, but these errors were encountered:
Intro
To publish our plugin we must present its usage by including examples to it. Currently two main scenarios come to my mind that can be represented in an example each. The second one combines the app where the user signs in using passkeys with firebase (this serves data to the app). As Firebase is probably the default solution for small teams and individual programmers we should also show how to use passkeys with Firebase.
Description
Before we write the example we must think of how the app will communicate.
Then we can put a few ideas together what the example should include.
Implementation idea
The text was updated successfully, but these errors were encountered: