I’m working on a Next.js app where I want to integrate FaceIO for biometric authentication and Auth0 for user management. The goal is to authenticate users with FaceIO and link that biometric authentication with their Auth0 user profiles.
So far, I have:
Auth0 set up for standard authentication in my Next.js app.
FaceIO working independently for biometric authentication.
What I’m struggling with is connecting the two: How can I use FaceIO’s biometric authentication to log the user into Auth0 or sync FaceIO data with Auth0 profiles?
I’d really appreciate any help or examples from anyone who’s done something similar or has experience with these tools!
I’ve not used FaceIO per se - nor do I have any particular experience with similar tools - but reading their Developer Center documentation, it wouldn’t appear that it (FaceIO) has no SAML/OIDC/OAuth 2.0 compliant interface; FaceIO appears to be a proprietary identity provider (IdP) with a proprietary Javascript interface for user Authentication.
Auth0 is standards-based, so it relies on any federation - that is to say, the use of any upstream IdP - being compliant with either SAML, OIDC or OAuth 2.0. To make FaceIO work with Auth0, ideally, you would need to proxy it (FaceIO) with some standards-based interface, and I’d recommend you take a look at this Auth0 Blog article which discusses how you can do that with something like Apache; it’s a blog article from 2014, but the essence of what it describes is still valid today
Once you have the proxy interface implemented, you can then use something like an Auth0 Custom Social Connection to connect Auth0 with the FaceIO proxy as an upstream IdP If you do decide to go down this route, then you might also like to consider submitting your implementation as part of the Auth0 Marketplace (see here for more details); I can imaging something like a FaceIO integration might also be something of interest to others in the Auth0 Community