diff --git a/lib/schemes/oauth2.js b/lib/schemes/oauth2.js index 32b601832..9d8cc2d80 100644 --- a/lib/schemes/oauth2.js +++ b/lib/schemes/oauth2.js @@ -128,8 +128,8 @@ export default class Oauth2Scheme { if (this.$auth.options.redirect && this.$auth.ctx.route.path !== this.$auth.options.redirect.callback) { return } - // Callback flow is not supported in static generation - if (process.server && process.static) { + // Callback flow is not supported in server side + if (process.server) { return }