-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Sign-in broken via both slack and google #1116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@compengsamit same issue here, checked out tag I was able to setup Slack OAuth and login, create wiki pages etc. Everything seemed to work fine.. then after a log out and log in.. totally stuck with:
|
More info: I've just nuked the db, checked out |
I got the same issues yesterday! I tried several approaches but it didn't work. I noticed the cookie were passed as |
Looking into this – do you know if you sent out any invites from within the app? I have some leads as to what the issue might be – it certainly isn't affecting all signins. |
@tommoor I did a fresh install and did not send out 8000 any invites or created any collection. Just a fresh install, sign-in and sign-out and then trying to sign in again doesn't work. |
* Initial fix for #1116 * clarify logic
This is now addressed on master, thanks for the heads up, this was honestly quite a bad bug – point release published as v0.38.1. If you have existing users that were created they'll need to be wiped from the DB, the easiest way to do this is to just make the email field a blank string, at which point they'll be ignored. |
I was trying to set up outline and found that the sign-in via google and slack is now broken. You will be able to to login first time. However, once you logout and login back, it gives an error:
"Authentication failed - we were unable to sign you in at this time."
I further enabled detailed logs and found the below error in the logs:
EXCEPTION WHEN unique_violation THEN GET STACKED DIAGNOSTICS sequelize_caught_exception = PG_EXCEPTION_DETAIL;
Further, I checked out and found that it was trying to insert a row in the 'users' table and getting failed because of duplicate key error for the 'email' field.
This can also be produced in the development mode using docker-compose.
I updated the HEAD to 5731ff3 (Dec 7) and everything works fine now.
Kindly check and let me know if this is a bug or something is missing from my side in the setup.
The text was updated successfully, but these errors were encountered: