Integration Issue with SIWE and Auth.js Credentials Provider #8916
neotheprogramist
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
your repro link is a 404 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Provider type
Credentials
Environment
System:
OS: Linux 6.4 Fedora Linux 38 (Workstation Edition)
CPU: (16) x64 AMD Ryzen 7 PRO 6850U with Radeon Graphics
Memory: 6.39 GB / 14.38 GB
Container: Yes
Shell: 5.2.15 - /bin/bash
Binaries:
Node: 18.17.1 - /usr/bin/node
npm: 9.8.1 - /usr/local/bin/npm
Browsers:
Chrome: 117.0.5938.92
Packages:
"@auth/core": "^0.13.0",
"@builder.io/qwik": "^1.2.12",
"@builder.io/qwik-auth": "0.1.3",
"@builder.io/qwik-city": "^1.2.12",
Reproduction URL
https://github.com/visoftsolutions/ksox-web-old/tree/authjs-credential-dead-end/exchange
Describe the issue
I'm facing a problem when trying to integrate Sign-In with Ethereum (SIWE) with Auth.js as per this guide. There's no straightforward way to pass the 'message' and 'signature' credentials from SIWE to Auth.js's Credential provider programmatically. The current implementation redirects users to a page where they're prompted to enter these credentials manually.
How to reproduce
In the repo https://github.com/visoftsolutions/ksox-web-old/tree/authjs-credential-dead-end
run redis db
run dev
and go to http://localhost:5173/siwe/
Expected behavior
I'd like to pass the SIWE credentials to Auth.js's Credential provider programmatically, without redirecting users for manual input.
Solving this would make Qwik a more viable option for web3 applications alongside React.
Beta Was this translation helpful? Give feedback.
All reactions