Follow-up from "Resolve "API call to retrieve information of wrong token returns error "400" instead of "401"""
The following discussion from !77644 (merged) should be addressed:
-
@toupeira started a discussion: (+1 comment) note (non-blocking): It looks like in Doorkeeper 5.5.0 we can just override
#doorkeeper_token_to_json
and keep the original#show
: https://github.com/doorkeeper-gem/doorkeeper/blob/bb000826ce271c20fefc13872f6a845a6dc92cbb/app/controllers/doorkeeper/token_info_controller.rb#L17We're currently on 5.5.0.rc2 so we could do this now, but otherwise I'm also happy with a follow-up issue or
TODO:
comment😀