Skip to main content
1 of 2
Gima
  • 123
  • 4

Verifying OAuth2 `access_token` validity. Counts towards api call quota?

This question pertains to StackExchange API.

§

1) Does usage of this api endpoint count towards api call quota? (The most promising api call I found for verifying the validity of an access_token)

(I'm doing user authentication, not StackExchange api calls.)
My application's cache acts as the first level for checking whether a user is still logged in, but when a call slips through, it has to hit some api call on stackexchange api to verify whether the token is still valid.

2) Which gets me to my second question:
Is there a purpose-built endpoint just for verifying the validity of an access_token? GitHub apparently has:

#check-an-authorization ("OAuth applications can use a special API method for checking OAuth token validity without running afoul of normal rate limits for failed login attempts")

Gima
  • 123
  • 4