Using this gem along with the doorkeeper-jwt gem caused problems because that gem defines a Doorkeeper::JWT constant, so the autoloader thinks it should load JWT::JWK and other constants under the JWT namespace from there since this gem is also under the Doorkeeper namespace. The solution is to prefix the JWT uses with ::.
Using this gem along with the
doorkeeper-jwt
gem caused problems because that gem defines aDoorkeeper::JWT
constant, so the autoloader thinks it should loadJWT::JWK
and other constants under theJWT
namespace from there since this gem is also under theDoorkeeper
namespace. The solution is to prefix theJWT
uses with::
.Fixes #187.