grafana / django-saml2-auth

Django SAML2 Authentication Made Easy. Easily integrate with SAML2 SSO identity providers like Okta, Azure AD and others.
Other
189 stars 56 forks source link

CUSTOM_CREATE_JWT and CUSTOM_TOKEN_QUERY have different tokens. #272

Closed Nodees closed 7 months ago

Nodees commented 7 months ago

I need the token from the CUSTOM_CREATE_JWT trigger and the CUSTOM_TOKEN_QUERY trigger to be the same. However, in the first trigger, I have the token with JTI "123", and in the CUSTOM_TOKEN_QUERY trigger, the token is "124".

mostafa commented 7 months ago

Hey @Nodees,

Can you elaborate with a code snippet?

Nodees commented 7 months ago

I identified the problem, thank you very much for the answer, everything is now resolved 😄

mostafa commented 7 months ago

Feel free to leave a comment for others that might bump into the same problem.