requarks / wiki-v1

Legacy version (1.x) of Wiki.js
https://wiki.js.org
GNU Affero General Public License v3.0
101 stars 75 forks source link

Unable to use OAuth for Google, getting some error in expressJS #227

Open deep110 opened 5 years ago

deep110 commented 5 years ago

Actual behavior

Google OAuth is not working with some error in express. A full error log is pasted below.

Error: Can't set headers after they are sent

Expected behavior

Google auth should work if a user has been added

Steps to reproduce the behavior

When trying to use Google OAuth getting the following error:

https://pastebin.com/fMMFE0Dz