Problem Statement
For a browser-based enterprise app needing federation with partners, which is most appropriate?
Explanation
Federation standards let users authenticate with their own identity provider while the app trusts assertions. Choose OpenID Connect for modern web and mobile, or SAML for older enterprise stacks. Use OAuth 2.0 tokens to gate API calls after the user is authenticated.
Code Solution
SolutionRead Only
Front-channel OIDC login → ID token; back-channel API uses access_token with least-privilege scopes
