Sign-In with Ethereum to Your Auth0-Powered Application
In our pursuit of best serving web2 and web3 organizations, we've partnered with Auth0 to offer a Sign-In with Ethereum option in their marketplace.
![Sign-In with Ethereum to Your Auth0-Powered Application](/content/images/size/w1200/2024/07/SIWE-auth0.png)
Ensuring widespread Sign-In with Ethereum adoption across apps and services requires serving both web3 applications and more traditional apps and services in web2. Typically, most traditional web2 services already support OpenID Connect, and were open to adding a new Identity Provider that supported the Sign-In with Ethereum workflow.
By meeting these services where they are today, we can provide a pragmatic stepping stone towards true decentralization, with an upgrade path to direct authentication. In our pursuit of best serving these organizations, we've partnered with Auth0 to offer a Sign-In with Ethereum option in their marketplace:
Signing in with Ethereum wallets is now an available option for all Auth0 clients! A big thanks to our friends (frens?) at @SpruceID.
— The Auth0 Lab (@Auth0Lab) April 11, 2022
We're excited to see how the Web3 world continues to unlock new tools for identity, privacy, and security: https://t.co/McdjVI7wwy
Auth0 is the leading platform for authentication and authorization for web2 applications and services in retail, publishing, B2B SaaS, and more. We are grateful to have worked with Auth0 and the Auth0 Lab team to bring this integration to life and drive web3-based authentication forward.
The integration uses our open-source OpenID Connect Identity Provider for Sign-In with Ethereum implementation in Rust. As mentioned in Auth0's blog on the integration, the entire workflow involved can be seen in this activity diagram:
![](https://blog.spruceid.com/content/images/2022/04/image-6.png)
Aside from just authenticating users, the workflow also can tap into relevant blockchain data to enhance the session, such as resolving a user's ENS name and avatar. A number of wallets are natively supported in the integration, including MetaMask, Coinbase Wallet, and more via WalletConnect.
Instructions on how to set up the integration in your Auth0 application can be found here:
![](https://images.ctfassets.net/23aumh6u8s0i/4UyoAXBqitctuVKL4L7Ieq/ebe7b16a115eaa1737c39002e0d0b7ee/Eth_hero.jpg)
Example Application
Additionally, we've built an example application to show off the authentication flow which can be found here. The example features a mock NFT gallery website where users can Sign-In with Ethereum, and their NFT holdings are resolved via the OpenSea API once authenticated.
![](https://blog.spruceid.com/content/images/2022/04/Screen-Shot-2022-04-25-at-11.46.01-AM.png)
After hitting the login button, users are redirected to the Auth0 flow and Sign-In with Ethereum using the provided interface. Once authenticated, users are then redirected back to the application where they can view their gallery.
![](https://blog.spruceid.com/content/images/2022/04/Screen-Shot-2022-04-25-at-11.47.39-AM.png)
As part of the login, the application also resolves the user's ENS name if present. Users can then return to the main splash screen or disconnect from the application.
![](https://blog.spruceid.com/content/images/2022/04/Screen-Shot-2022-04-27-at-10.39.48-PM.png)
As mentioned previously, we're also working on creating a community-owned identity server, with the ENS DAO which we felt was the best credibly-neutral organization to be the infrastructure host.
![](https://blog.spruceid.com/content/images/2022/03/SIWEOIDCIDP.png)
If you're interested in integrating Sign-In with Ethereum into your dapp, app, or service, we are more than happy to help and provide any support we can. As we continue our work supporting Sign-In with Ethereum, we especially welcome implementers who already have users relying on similar workflows, authors of related EIPs, and wallet vendors who would like to do more to support user-owned identities to join us.
If you are interested in being involved, please join our Discord server:
![](https://blog.spruceid.com/content/images/2022/01/image-5.png)