doorkeeper-gem / doorkeeper-openid_connect

OpenID Connect extension for Doorkeeper
MIT License
173 stars 114 forks source link

Fix dookeeper-jwt compatibility #188

Closed zavan closed 1 year ago

zavan commented 1 year ago

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 ::.

Fixes #187.

zavan commented 1 year ago

Fixes #187.