Change the configuration of the authorization strategy in runtime · nuxt-alt auth · Discussion #126 · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But then I realized that this would not work in a production environment - the config is assembled at the stage of building the application. Therefore, the question arose - is it possible to configure the module options already in runtime?
For example, I want to change the authorization endpoint for the refresh strategy.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
Initially, I just wanted to use the module's auth configuration with .env variables, like that:
But then I realized that this would not work in a production environment - the config is assembled at the stage of building the application. Therefore, the question arose - is it possible to configure the module options already in runtime?
For example, I want to change the authorization endpoint for the refresh strategy.
Beta Was this translation helpful? Give feedback.
All reactions