Which of the following is a common use case for OAuth?
- Storing user passwords securely
- Generating random API keys
- Allowing third-party applications to access user data
- Creating secure database connections
OAuth is commonly used to allow third-party applications to access user data without exposing the user's credentials. It is a widely adopted protocol for authorization in the context of web applications and APIs. The other options do not represent typical use cases for OAuth.
Loading...
Related Quiz
- How can you resolve conflicts between different versions of the same package required by different dependencies?
- You are developing a RESTful API using the http module and need to support CORS. How would you implement CORS headers to handle pre-flight requests in your HTTP server?
- What will happen if you try to destructure properties not present in the object?
- In Express.js, which method is used to define a route that should respond to HTTP GET requests?
- In the context of web development, what is the main difference between authentication and authorization?