Skip to content

Conversation

aibaq
Copy link

@aibaq aibaq commented Sep 16, 2025

Fixes #

Description of the Change

Django User's last_login field is nullable, so /o/token/ endpoint raises TypeError when last_login is null when using oidc

Снимок экрана 2025-09-16 в 13 05 42

This fix sets timezone.now() as a default value for auth_time

Checklist

  • PR only contains one change (considered splitting up PR)
  • unit-test added
  • [o] documentation updated (not needed)
  • CHANGELOG.md updated (only for user relevant changes)
  • author name in AUTHORS

@aibaq aibaq changed the title Fix TypeError at /s/auth/o/token/ Fix TypeError at /o/token/ Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant