Replies: 2 comments 6 replies
-
hey @rgouzal have you found any solution for your problem? checking the adapter interface we can see that we can't get the nonce as you want but I think your code makes sense to me. |
Beta Was this translation helpful? Give feedback.
-
@rgouzal as you can see from the code posted by @adrianotadao, the A basic backend should look something like this: Note that both the frontend and the backend use the siwe library to generate the message and to validate it against the signed message. The backend receives the parameters you need from The SIWE message format is specified by the EIP-4361: Sign-In with Ethereum. You can see there that there are some more optional parameters. If you need those, just add them when calling Does this answer you question? |
Beta Was this translation helpful? Give feedback.
-
I am trying to create a custom authentication backend adapter with custom message creation and verification by passing additional params, cause this is how I am implementing authentication on backend:
Now I did read the docs mentioned here: https://www.rainbowkit.com/docs/custom-authentication
Current approach:
My expected approach:
Beta Was this translation helpful? Give feedback.
All reactions