Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception - Firebase\JWT\JWK::parseKeySet(): Argument #1 ($jwks) must be of type array, null given, called in [dirroot]/mod/lti/locallib.php on line 1368 #110

Open
mgarefal opened this issue Feb 4, 2023 · 3 comments

Comments

@mgarefal
Copy link

mgarefal commented Feb 4, 2023

Hello,
does anyone know what causes this exception:
Exception - Firebase\JWT\JWK::parseKeySet(): Argument #1 ($jwks) must be of type array, null given, called in [dirroot]/mod/lti/locallib.php on line 1368
it is raised when putting grades in moodle.

Thanks in advance

@PenghaiZhang
Copy link

Hi @mgarefal , have you sorted out this issue? I am getting this error as well.

@joerou
Copy link

joerou commented Dec 14, 2023

I am getting this as well when I put in the keyset url, but not when I paste the key in directly in pem format. So, not sure what's causing it, but that might be a workaround for now.

@hmoffatt
Copy link
Contributor

I am getting this as well when I put in the keyset url, but not when I paste the key in directly in pem format. So, not sure what's causing it, but that might be a workaround for now.

Are you sure your JWKs URL is returning the right format? There's a bug in the examples, see #53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants