Q78Security
Which mechanism does OAuth use to enhance REST API security compared with BasicAuth?
← → navigate · a answer
Community votes
Discussion · 4
A 3
Selected Answer: A
OAuth uses tokens to make REST API security stronger than BasicAuth. With BasicAuth, the user's credentials (username and password) are sent on every request, which creates a security risk, especially if they are intercepted. In contrast, OAuth issues tokens (access tokens or bearer tokens) to clients after successful authentication, and these tokens are then used for later requests.
A 3
Selected Answer: A
BasicAuth -> username & password.
OAuth -> tokens.
A 2
Selected Answer: A
Correct
A 1
Selected Answer: A
Answer A is right.