-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
OpenID: Invalid base64-encoded string #2274
Comments
blueyed
added a commit
to blueyed/django-allauth
that referenced
this issue
Apr 21, 2019
pennersr
pushed a commit
that referenced
this issue
Apr 26, 2019
iarp
pushed a commit
to iarp/django-allauth
that referenced
this issue
Jul 25, 2019
erikdbrown
pushed a commit
to AltSchool/django-allauth
that referenced
this issue
Mar 4, 2020
erikdbrown
pushed a commit
to AltSchool/django-allauth
that referenced
this issue
Mar 9, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting the following error when trying to login/signup with OpenID:
The problem appears to be that the secret (bytes) gets saved via
str()
into the OpenIDStore (asb'Ks…k8=\n'
), which then fails with decodestring in allauth/socialaccount/providers/openid/utils.py in getAssociation:This changed in Django 2.0, where previously
force_text
would decode the bytes into a string (in TextField), but nowstr()
is used: https://github.com/django/django/blob/ba2057910644d3255a6283a16ceefbd0fceedafc/docs/releases/2.0.txt#L341-L359Related commit: django/django@301de77
The text was updated successfully, but these errors were encountered: