Defining oauth2 clientId at runtine #1630
Unanswered
existe-deja
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Problem is I have to rebuild my app if I want to set a different
clientId
. This is the case for facebook login as I have two apps, one for production, one for preprod.It would be simplier to set it at runtime.
Describe the solution you'd like to see
I would like to set the
clientId
inside thepublicRuntimeConfig
entry.Describe alternatives you've considered
Building two times.
Additional context
Sentry plugin does support it https://sentry.nuxtjs.org/sentry/runtime-config and can be a good inspiration.
Beta Was this translation helpful? Give feedback.
All reactions