[slurm-users] slurmrestd with RS256 tokens

John Yost hokiegeek2 at gmail.com
Tue Feb 8 18:52:49 UTC 2022

Has anyone got this to work? I have HS256 working fine, but when I try
RS256 I get an error that the token is missing the kid field

This is the decoded token:

{'exp': 1644350831, 'iat': 1644343631, 'sub': 'slurm', 'kid': 'grm', 'alg':

I can see in the code where the error is being thrown
in plugins/auth/jwt/auth_jwt.c:

[image: image.png]

so the jwt_get_header function is returning no kid value from the header.
Any ideas?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20220208/27b5bfb9/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 20584 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20220208/27b5bfb9/attachment-0001.png>

More information about the slurm-users mailing list