Skip to content

Django 2.2 breaks code #11

@BarnabasSzabolcs

Description

@BarnabasSzabolcs

Hi Viktor, great project!
Unfortunately there's a breaking change in Django 2.2 that results in:

AttributeError at /
'str' object has no attribute 'decode'

at
return urlsafe_base64_encode(enc_payload).decode('ascii')

In the new version you don't need to decode it anymore, they say on Stackoverflow.

Also this project does not seem to do SSO when I configure it as told in the readme. (Did you leave out a middleware by accident?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions