Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOT READY FOR REVIEW - WIP HACK to break free of NEXTAUTH_URL using http header #3751

Closed
wants to merge 8 commits into from
Closed

NOT READY FOR REVIEW - WIP HACK to break free of NEXTAUTH_URL using http header #3751

wants to merge 8 commits into from

Conversation

devinrhode2
Copy link

We need to support multiple domain names pointing to the same next.js server (multi-tenancy). Other parts of our infrastructure will pass an X-Forwarded-Host header to this next.js server, which we need to use in place of the NEXTAUTH_URL.

This is just a hack to get working for our use case.
I noticed the version:pr npm script might actually publish this PR as a package, which is what I am trying to do by opening this PR. If it doesn't publish a package, then I will close and re-open later once this is ready for review

I tried using patch-package but was getting this Can't find lockfile entry for next-auth error :/

Checklist 馃Б

  • Documentation
  • Tests
  • Ready to be merged

Related issues 馃師

#600

@github-actions github-actions bot added client Client related code core Refers to `@auth/core` labels Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Client related code core Refers to `@auth/core`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant