Skip to content

AuthJS do not redirect to set URL, instead it redirect to Docker container internal IP #8449

Answered by balazsorban44
J4v4Scr1pt asked this question in Help
Discussion options

You must be logged in to vote

Hi everyone, we have an official section for deploying Docker here: https://authjs.dev/getting-started/deployment#docker

It includes the recommended Docker config, and can be seen deployed (running on Render.com, but it should work the same everywhere) here: https://nextjs-docker-example.authjs.dev

You should not need to set AUTH_URL NEXTAUTH_URL, NEXTAUTH_URL_INTERNAL and the like anymore.

Replies: 17 comments 22 replies

Comment options

You must be logged in to vote
1 reply
@J4v4Scr1pt
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@J4v4Scr1pt
Comment options

Comment options

You must be logged in to vote
4 replies
@J4v4Scr1pt
Comment options

@VictorGlindasPaf
Comment options

@axinzi
Comment options

@aronei44
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@J4v4Scr1pt
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@adamspotlite
Comment options

@tetsuo-keystone
Comment options

@Nishidh25
Comment options

@adamspotlite
Comment options

@eliaspasche
Comment options

Comment options

You must be logged in to vote
1 reply
@teamsmiley
Comment options

Comment options

You must be logged in to vote
3 replies
@highree
Comment options

@D3nn7
Comment options

@highree
Comment options

Comment options

You must be logged in to vote
2 replies
@johanwulf
Comment options

@rylincoln
Comment options

Comment options

You must be logged in to vote
1 reply
@benmarte
Comment options

Comment options

You must be logged in to vote
2 replies
@gnowland
Comment options

@VladBo
Comment options

Answer selected by balazsorban44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Converted from issue

This discussion was converted from issue #8438 on August 29, 2023 09:06.