DATE:
AUTHOR:
The Stytch team
API SDK B2B SAAS

2024.08.23 | Sign-in With Ethereum (SIWE) & FE SDK updates

DATE:
AUTHOR: The Stytch team

Sign-In With Ethereum (SIWE) 

This week, we’ve added Web3 support for Sign-In With Ethereum (SIWE), an open standard (EIP-4361) that makes Web3 sign-in requests more secure by introducing stricter requirements for generating and validating challenges. With SIWE, users are better informed and protected when they log into apps using their Ethereum accounts.

One key benefit of SIWE is domain-binding, which helps prevent phishing attacks. During the auth flow, the client application must specify a domain when asking the user to sign a SIWE message. If that domain doesn’t match the website the user is on, the crypto wallet will give the user a clear warning. 

Check out our Consumer Auth guide and API docs for more details on SIWE.

Unlinking retired emails for B2B Auth

Now you can unlink old “retired” email addresses from a member, freeing them up for other members to use. When unlinked, the email status will be set to a status of “deleted”.

Before this update, when a member’s email was updated, the old email was silently marked as retired and could neither be viewed nor reused by other members in the same organization. Now, developers can view and unlink these retired emails using the API, the FE SDKs, or directly from the Dashboard UI.

Frontend SDK routing changes & performance improvements

We optimized our internal routing and updated the architecture in our frontend SDKs. These enhancements reduce the number of network calls and simplify internal routing, resulting in faster API response times — improving request speeds by up to 40 milliseconds.

To benefit from these performance improvements, upgrade to the following versions:

This is a major version bump and includes some breaking changes. The new SDK versions point to api.stytch.com for live and test.stytch.com for test, replacing web.stytch.com. If you use Content Security Policy (CSP) headers, please ensure you update the URLs accordingly.

Where to find us

Stytch developer Slack

Join the discussion, ask questions, and suggest new features in our official Slack!

Get support

Check out the Stytch Forum or email us at support@stytch.com

Powered by LaunchNotes