Sign in With Ethereum (SIWE)

The IDP Kit supports Sign In With Ethereum (SIWE).

This section will explain the principles of how OIDC authentication requests are translated into SIWE requests and the options available to craft such requests.

How it works

To understand how identity provision via SIWE can be leveraged in an OIDC authentication flow, you may first want to recap on the basic principles of OIDC authentication.

OIDC via SIWE

When using SIWE as information source, the client application needs to specify the custom siwe claim in the authorization request.

The IDP Kit then takes the request and opens a wallet connect page, where the user is prompted to connect their wallet to the page and share their address. The shared address will then be sent back to the IDP Kit, which verifies that the user is the rightful owner.

After verification, the IDP Kit sends the account address back to the client application in the siwe property of the user info.

The application can rely on the received data, as the IDP Kit is verifying the ownership of the address.

Last updated