Replies: 1 comment 1 reply
-
@c0rdeiro I would suggest that you handle all the jwt and verification with siwe on backend (server-side). It's kind of complicated and might introduce security risk if you were to do this in client side. Here is what i would do:
Remember this is just an example you might have your own database structure and custom logics as well. Does that answer your question ? |
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
-
Hey, so I'm using next app router and I already have a session working. The problem is that I need to call an external API with the JWT as the bearer token but I cannot access it.
I've seen this problem fix nextauthjs/next-auth#1290, but I'm not being able to retrieve any access token on siwe callback, and I'm not sure if this is possible for web3 auth or if I should do something differently
This is my config
Beta Was this translation helpful? Give feedback.
All reactions