In v2 rescope, invalid and expired token case returns Unauthorized (401) error which is correct. So above issue needs to be addressed in V3 only.
Related code: https://github.com/openstack/keystone/blob/master/keystone/token/controllers.py#L151
In v2 rescope, invalid and expired token case returns Unauthorized (401) error which is correct. So above issue needs to be addressed in V3 only.
Related code: https:/ /github. com/openstack/ keystone/ blob/master/ keystone/ token/controlle rs.py#L151