Auth-module: Callback not working in production

Created on 16 Nov 2020  路  4Comments  路  Source: nuxt-community/auth-module

Image of error

When I redirect from a login it does this, but in development, it work perfectly.

Any ideas?

All 4 comments

I believe this is because your "Authorization callback URL" in your nuxt.config.js is not the same as in Github settings. Refer to step #8 here https://docs.github.com/en/free-pro-team@latest/developers/apps/creating-an-oauth-app

I believe this is because your "Authorization callback URL" in your nuxt.config.js is not the same as in Github settings. Refer to step #8 here https://docs.github.com/en/free-pro-team@latest/developers/apps/creating-an-oauth-app

I have not set this directly in my config

Same issue here, oauth + keycloak, authorization works perfect on DEV, not working in production

The attached error is indeed a problem with configuration on the OAuth provider. For security reasons, you must set your production URL with the provider itself. This isn't an issue with the auth module, so closing out.

Was this page helpful?
0 / 5 - 0 ratings