Peter-Slump / django-keycloak

Django app to add Keycloak support to your project.
MIT License
127 stars 119 forks source link

TypeError at / '>' not supported between instances of 'NoneType' and 'datetime.datetime' #26

Open missmanpreet opened 4 years ago

missmanpreet commented 4 years ago

I logged on two different browsers. I logout from one browser and successfully logout. After that I refresh the page on second browser I got this error "TypeError at / '>' not supported between instances of 'NoneType' and 'datetime.datetime"

Exception Location: | /Users/manpreet/Sites/venv/lib/python3.6/site-packages/django_keycloak/auth/backends.py in get_user, line 31

srinathganesh commented 3 years ago

We are getting the same error in our logs. Thanks @missmanpreet for providing the scenerio

srinathganesh commented 3 years ago

Did you manage to fix it?

riaanvddool commented 2 years ago

Same problem

mukul9193 commented 2 weeks ago

i fixed this error i will create pull request shortly.Thanks