spruceid / siwe-next-auth-example

An example of Sign-In with Ethereum and NextAuth.js
https://siwe-next-auth-example2.vercel.app/
ISC License
145 stars 48 forks source link

Code in docs not the same as code in repo #13

Closed o-az closed 2 years ago

o-az commented 2 years ago

https://docs.login.xyz/integrations/nextauth.js

For example in pages/api/auth/[...nextauth].ts in the repo this check doesn't exist but is there in the docs, among other things:

const nextAuthUrl =
  process.env.NEXTAUTH_URL || 
(process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}` :
 null);
GGBoi2 commented 2 years ago

Echoing this statement. The docs look like they haven't been updated since before July.

obstropolos commented 2 years ago

Hey - taking a look into this now, apologies for the delay on this.

obstropolos commented 2 years ago