We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
baseURL
I usually have my API base URL for external APIs in:
runtimeConfig: { public: { apiBaseUrl: 'https://my-awesome-backend.local' } },
and replicate it in nuxt-auth config
nuxt-auth
baseURL: process.env.NUXT_PUBLIC_API_BASE_URL ?? "https://my-awesome-backend.local",
But then I need the NUXT_PUBLIC_API_BASE_URL variable on build and runtime, which is a bit annoying.
NUXT_PUBLIC_API_BASE_URL
Therefore, it would be awesome to specify a JSON pointer to runtime config like it's done for the access / refresh tokens.
No response
The text was updated successfully, but these errors were encountered:
Maybe related to #797
Sorry, something went wrong.
feat(#797, #878): set baseURL via environment variables and improve…
5788005
… internal url detection (#913)
You can now set baseURL using
runtimeConfig: { public: { auth: { baseURL: 'https://example.com/your/base/url' } } }
as well as via originEnvKey and auth.baseURL
originEnvKey
auth.baseURL
Done in #913
Successfully merging a pull request may close this issue.
Describe the feature
I usually have my API base URL for external APIs in:
and replicate it in
nuxt-auth
configBut then I need the
NUXT_PUBLIC_API_BASE_URL
variable on build and runtime, which is a bit annoying.Therefore, it would be awesome to specify a JSON pointer to runtime config like it's done for the access / refresh tokens.
How would you implement this?
No response
Additional information
Provider
The text was updated successfully, but these errors were encountered: