python-social-auth / social-core

Python Social Auth - Core
BSD 3-Clause "New" or "Revised" License
849 stars 544 forks source link

IntegrityError at /social-auth/complete/azuread-oauth2/ #749

Open tiago-peres opened 1 year ago

tiago-peres commented 1 year ago

I still get this error

Screenshot 2023-02-08 at 17 44 06

which then if I try to sign up with another user leads to

IntegrityError at /social-auth/complete/azuread-oauth2/ duplicate key value violates unique constraint "social_auth_usersocialauth_provider_uid_e6b5e668_uniq" DETAIL: Key (provider, uid)=(azuread-oauth2, None) already exists.

Screenshot 2023-02-08 at 17 44 34

Originally posted by @tiago-peres in https://github.com/python-social-auth/social-core/issues/70#issuecomment-1423007525

xtsAU commented 1 year ago

same issue