Skip to content
Permalink
Browse files
fix(oauth2): restore callback handling on static sites (#453)
  • Loading branch information
jakul authored and pi0 committed Sep 12, 2019
1 parent ea08d39 commit 06165a08dd9f4a6d1a7701382fc3a3566ddfb2bd
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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
}

0 comments on commit 06165a0

Please sign in to comment.