Start here. This is the direct spoken answer to practice first.
Why this question matters
Authentication proves an identity under a configured scheme; authorization decides whether that identity may perform a specific operation on a specific resource. The browser remains untrusted even after a successful sign-in.
The identity provider authenticates the user and issues identity information or access tokens. The frontend starts the sign-in flow and presents the resulting credential using the chosen browser architecture, but it cannot grant access. The API validates issuer, audience, signature, lifetime, and scheme, then enforces policies and resource authorization. UI visibility is only convenience; every protected API operation makes its own server-side decision.