OAuthTagger
Constants
Auth/SSO context segments that mark a /callback, /authorize, or
/redirect handler as part of an OAuth/OIDC sign-in flow rather than a
payment IPN or a post-action redirect. This mirrors the set the webhook
tagger uses to exclude these same callbacks from being tagged as
webhooks — keeping the two taggers consistent about what
/auth/<provider>/callback is.
OAuth-flow verbs: the redirect out to the IdP (/redirect,
/authorize) and the authorization-code handler coming back
(/callback). Many social-login handlers expose no statically
extractable params (the code/state arrive at runtime), so the
param-corroborated checks below miss them.
URL path segments that, on their own, strongly imply an OAuth/OIDC surface. Any OAuth parameter alongside one of these is enough.
URL path segments shared with non-OAuth routes — a CSRF/email "token", a payment "callback", a generic "authorize". These need corroborating parameters before flagging.