5 views
Could you also explain how it differs from SAML?
Asked at
AI answer
Compared with OAuth 2.0 / OpenID Connect, SAML is a different federated authentication protocol. SAML typically sends a signed XML assertion from an Identity Provider (IdP) to a service provider (SP), most often through a browser, and is widely used for enterprise SSO. OpenID Connect is built on top of OAuth 2.0, uses tokens—usually JWTs—and is more convenient for web and mobile applications and APIs. OAuth 2.0 itself addresses delegated authorization, not authentication; OIDC is typically used for user sign-in. The choice depends on integrations and requirements: SAML is common in enterprise environments, while OIDC is used for modern applications.
Also asked at Собеседование, 12 нояб
- Why are you leaving your current job?
- What is Keycloak?
- We’re in the age of AI. Do you use it to automate any of your work, or in your personal life?
- And more generally, what is an API Gateway? What is it used for?
- What will your service do if the stocks object is empty, but the bonds object is populated, even though the request specified a filter for stocks? How will the service handle this?
Similar questions
- From the user’s perspective, what is the difference between OAuth 2.0 authorization and Basic Auth?
- How is user identification and authorization implemented in an application? How is the token transmitted?
- Describe the structure of a JSON Web Token (JWT). In what scenarios is it used, and what advantages does it offer compared with other authentication methods?
- How does JWT differ from access/refresh tokens?
- What does an integration description include?