Open cngJo opened 2 months ago
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
Maybe related to #797
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