I would remove the `token_type_hint` logic, as doorkeeper doesn't really make use of it (and won't for the foreseeable future). We could probably leave a comment with the implementation detail discussed in https://github.com/applicake/doorkeeper/pull/374/files#r11446735.