Replies: 1 comment
-
Great suggestion! Have started a PR #152 to add this functionality to our Thinking this would look something like this: const { openSIWE } = useModal();
<button onClick={() => openSIWE()}>Open to SIWE page</button>
<button onClick={() => openSIWE(true)}>Open to SIWE page and prompt Sign In With Ethereum</button> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i'm implementing SIWE w/ connectkit and was overall very pleased with the integration, but a minor behavior that's bothering me is that CK provides a
show
handler for the connectbutton that opens the CK ui, but the providedsignIn
handler just executes SIWE logic, without UI. it would be vastly preferrable, imo, if there were a handler that opened the modal to the SIWE route and (also) triggered thesignIn
flow so that in the situation where the modal isn't already open (either auth has expired or the user connected and dismissed the modal) we get CK's nice UIBeta Was this translation helpful? Give feedback.
All reactions