Skip to content

Fix authentication in the latest release #262

Description

@johnbradley

Authentication via OAuth is no longer working after upgrading to django3.
This may be an issue with the middleware configuration.
The following code in gcb_web_auth is failing to find the user even though the token_dict is valid:

    user = authenticate(service=service, token_dict=token_dict)

https://github.com/Duke-GCB/gcb-web-auth/blob/3b5a3c83ab1ebe571f91b09a6c06732416f792d6/gcb_web_auth/views.py#L73

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions