Start here. This is the direct spoken answer to practice first.
Why this question matters
External identity providers solve login and identity proofing, but the application still owns many authorization decisions.
An identity provider can authenticate the user and issue trusted identity claims. The application still decides what that user can do inside the product: tenant membership, role or capability assignment, resource ownership, subscription status, and feature access. The API should map external identity to an internal user record or membership model rather than scattering identity-provider assumptions everywhere.