MCP Entra OAuth

OAuth 2.0 token revocation (RFC 7009)

Changed on

Revoke the session behind a token the client is discarding.

RFC 7009 is deliberate about the response: 200 for a successful revoke AND 200 for a token that is invalid, expired or not this client's. Anything else turns the endpoint into an oracle for probing which tokens exist. The one case that is NOT 200 here is a storage failure, because answering 200 there would tell the client the session is dead when it is still live.

post/t/{tenant}/oauth/revoke

Request

Path parameters

tenantstring required

Headers

authorizationstring

Request body application/x-www-form-urlencoded

tokenstring
token_type_hintstring
client_idstring
client_secretstring

Response

Successful Response

unknown required

Changes