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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make server origin configurable #59

Open
misl-smlz opened this issue Feb 1, 2024 · 0 comments
Open

Make server origin configurable #59

misl-smlz opened this issue Feb 1, 2024 · 0 comments

Comments

@misl-smlz
Copy link

We have a problem with the server origin: When we run our astro application in aws with cloudfront, auth.js always gets the "inner origin" (api gateway url or lambda function url) and not the cloudfront url.

Looking at the nuxt auth middlewares, they make the server origin configurable. See for example nuxt-auth: getServerOrigin.

We need something similar to make astro work with auth-astro in aws. Any suggestions on where to integrate this? I'm willing to look into this if requested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant