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

Polish NUXT_AUTH_ORIGIN logic #848

Closed
2 tasks done
phoenix-ru opened this issue Aug 8, 2024 · 0 comments
Closed
2 tasks done

Polish NUXT_AUTH_ORIGIN logic #848

phoenix-ru opened this issue Aug 8, 2024 · 0 comments
Labels
enhancement An improvement that needs to be added

Comments

@phoenix-ru
Copy link
Collaborator

phoenix-ru commented Aug 8, 2024

Follow up on #837

          Does not need to be done in this PR. but as a follow-up let's:
  • Adapt the ~/playground-* to use NUXT_AUTH_ORIGIN
  • Adapt any starter to use NUXT_AUTH_ORIGIN
  • Adapt the nuxt-auth-example to use NUXT_AUTH_ORIGIN

Originally posted by @zoey-kaiser in #837 (review)

Additionally:

  • Change default originEnvKey to NUXT_AUTH_ORIGIN and automatically strip NUXT_ prefix for camel-case config keys
  • Check type of variable from config to be string | undefined - report error otherwise
@phoenix-ru phoenix-ru added the enhancement An improvement that needs to be added label Aug 8, 2024
@phoenix-ru phoenix-ru changed the title Follow up on #837 Polish NUXT_AUTH_ORIGIN logic Aug 8, 2024
zoey-kaiser added a commit that referenced this issue Aug 20, 2024
Co-authored-by: Zoey <zoeykaiser8@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement that needs to be added
Projects
None yet
Development

No branches or pull requests

2 participants