Project

General

Profile

Bug #88885

erreur au log de changement jwkset (AttributeError: 'NoneType' object has no attribute 'get')

Added by Sentry Io 20 days ago. Updated about 3 hours ago.

Status:
Solution déployée
Priority:
Normal
Category:
-
Target version:
-
Start date:
29 March 2024
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/123708/

AttributeError: 'NoneType' object has no attribute 'get'
(5 additional frame(s) were not displayed)
...
  File "authentic2/manager/views.py", line 147, in dispatch
    return super().dispatch(request, *args, **kwargs)
  File "django/views/generic/base.py", line 98, in dispatch
    return handler(request, *args, **kwargs)
  File "authentic2/apps/authenticators/views.py", line 126, in post
    form.save()
  File "authentic2_auth_oidc/forms.py", line 46, in save
    self.instance.log_jwkset_change(self.old_jwkset, self.instance.jwkset_json)
  File "authentic2_auth_oidc/models.py", line 287, in log_jwkset_change
    new_kids = {kid for key in new_jwkset.get('keys', []) if (kid := key.get('kid'))}

Associated revisions

Revision d0420218 (diff)
Added by Benjamin Dauvergne 17 days ago

auth_oidc: prevent trace when jwkset_json is None (#88885)

History

#1

Updated by Frédéric Péters 20 days ago

  • Project changed from Suivi des traces to Authentic 2
#2

Updated by Benjamin Dauvergne 20 days ago

  • Assignee set to Benjamin Dauvergne
#3

Updated by Robot Gitea 20 days ago

  • Status changed from Nouveau to Solution proposée

Benjamin Dauvergne (bdauvergne) a ouvert une pull request sur Gitea concernant cette demande :

#4

Updated by Robot Gitea 17 days ago

  • Status changed from Solution proposée to Solution validée

Thomas NOËL (tnoel) a approuvé une pull request sur Gitea concernant cette demande :

#5

Updated by Robot Gitea 17 days ago

  • Status changed from Solution validée to Résolu (à déployer)

Benjamin Dauvergne (bdauvergne) a mergé une pull request sur Gitea concernant cette demande :

#6

Updated by Transition automatique about 3 hours ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF