We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 641b384 commit be86472Copy full SHA for be86472
django_saml2_auth/user.py
@@ -337,6 +337,8 @@ def create_custom_or_default_jwt(user: Union[str, Type[Model]]):
337
Optional[str]: JWT token
338
"""
339
saml2_auth_settings = settings.SAML2_AUTH
340
+ user_model = get_user_model()
341
+
342
custom_create_jwt_trigger = dictor(saml2_auth_settings, "TRIGGER.CUSTOM_CREATE_JWT")
343
344
# If user is the id (user_model.USERNAME_FIELD), set it as user_id
0 commit comments