You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
check_token fails for endpoints without DOMAIN entry, this is for example the case if you set SCHEMA_ENDPOINT, on the root /schema it will always fail because this resource_conf = config.DOMAIN[resource] it is a pretty easy fix, I changed it to this resource_conf = config.DOMAIN.get(resource, {}) .
I fixed it on my own fork, but did not add unit tests, if you accept pr, i will make one to fix this. I am leaving this for reference here, because it seems like the repo is not being updated lately.
Cheers,
The text was updated successfully, but these errors were encountered:
pcvonz
added a commit
to pcvonz/eve-auth-jwt
that referenced
this issue
Jun 9, 2020
check_token fails for endpoints without DOMAIN entry, this is for example the case if you set SCHEMA_ENDPOINT, on the root /schema it will always fail because this
resource_conf = config.DOMAIN[resource]
it is a pretty easy fix, I changed it to thisresource_conf = config.DOMAIN.get(resource, {})
.I fixed it on my own fork, but did not add unit tests, if you accept pr, i will make one to fix this. I am leaving this for reference here, because it seems like the repo is not being updated lately.
Cheers,
The text was updated successfully, but these errors were encountered: