Duke-GCB / Duke-GCB/D4S2

Fix authentication in the latest release

Open
#262 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.