migrated from: https://github.com/yahoojapan/athenz-authorizer/issues/51
migrated from: yahoojapan/athenz-authorizer#51