Nekonyx / next-auth-steam

Steam authentication provider for next-auth
70 stars 18 forks source link

Wrong return url #9

Closed dexsper closed 1 year ago

dexsper commented 1 year ago

If you do deploy as it usually works: the site is launched locally on port 3000 and there is a conditional nginx which forwards ports then after authorization, it returns not to the site domain, but to localhost

https://github.com/Nekonyx/next-auth-steam/blob/3fee1f0465ad55d112167074e4ca2db23e66829b/src/steam.ts#L31

Nekonyx commented 1 year ago

Hey. In this case, you must specify the external address of the site, for example https://nekonyx.me/api/auth/callback.

dexsper commented 1 year ago

Sorry, the problem was different, one of the next-auth parameters was not installed image