Releases: Aplopio/django_gapps_oauth2_login
Releases · Aplopio/django_gapps_oauth2_login
Fix for Django Upgrade
v0.9.8.2a bump version 0.9.8.2 => 0.9.8.2a
Changes for Django upgrade
Conditionally load code based on Django version.
Logger fix
Merge pull request #12 from Aplopio/logger_fix logger fix
[beta] Logging error
Merge pull request #11 from Aplopio/oauth_fixes logging fix
[BETA] Logger to watch request
Puts a logger on the request being sent.
[Fix] URI break due to `action` param
Merge pull request #9 from Aplopio/fix_action_param_duplication [Fix] Url break due to `action` param
Make domain optional and add `action` for callback
Merge pull request #8 from Aplopio/make_hosted_domain_optional Make `hosted domain` optional parameter + `action` callback param
Check if GApps returns all the keys before processing request.
Issue: ERROR:django.request Internal Server Error: /oauth2/oauth2callback/
Explanation:
For some reason, Gapps is not returning a name when it retrieves a user profile.
Profile is expected to have a name key so this breaks the GApps login mechanism.
Solution:
Not sure why GApps is not returning name, seems to be an edge case.
Handle it gracefully, for now. Explore it further if recurring.
Code changes:
django_gapps_oauth2_login/django_gapps_oauth2_login/utils.py
Handle missing state param
throw a bad request if state param is missing in oauth2 handshake
Error message displayed from response
v0.9.7.7 Http Bad request error displayed from response error dict