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
Nuxt applications allow to be hosted on a different subpath than '/' by setting the app.baseURLconfiguration parameter. This can also be overridden at runtime by setting the NUXT_APP_BASE_URL environment variable.
Can this setting (both app.baseURL and runtime NUXT_APP_BASE_URL) be respected by nuxt-oidc-auth? Currently, I get always redirected to /auth/login, even when providing a different prefix, e.g. NUXT_APP_BASE_URL=/prefix/. I believe it would be convenient to automatically prefix all relevant configuration parameters with the App baseURL, for example: If i set oidc.providers.[provider].callbackRedirectUrl to "/bye", then actually I should be redirected to "/prefix/bye" if NUXT_APP_BASE_URL=/prefix/ was set.
The text was updated successfully, but these errors were encountered:
I just tried to add a prefix in the nuxt config and everything works as expected including the redirections, as the prefix redirection of nuxt always take place before the route rules go into effect.
Is there anything specific that is not working for you @patrsc ?
Nuxt applications allow to be hosted on a different subpath than
'/'
by setting theapp.baseURL
configuration parameter. This can also be overridden at runtime by setting theNUXT_APP_BASE_URL
environment variable.Can this setting (both
app.baseURL
and runtimeNUXT_APP_BASE_URL
) be respected by nuxt-oidc-auth? Currently, I get always redirected to/auth/login
, even when providing a different prefix, e.g.NUXT_APP_BASE_URL=/prefix/
. I believe it would be convenient to automatically prefix all relevant configuration parameters with the App baseURL, for example: If i setoidc.providers.[provider].callbackRedirectUrl
to"/bye"
, then actually I should be redirected to"/prefix/bye"
ifNUXT_APP_BASE_URL=/prefix/
was set.The text was updated successfully, but these errors were encountered: