163k views
25 votes
What is the difference between basic auth and oauth.

User ACVM
by
3.5k points

1 Answer

6 votes

Answer:

Basic auth is an authentication where username and password are sent with an HTTP request unencrypted (just base64 encoded).

OAuth is a scheme whereby you perform a login at an IAM server, which gets you a token, and then you provide the token with requests to another server.

User Claus Holst
by
4.1k points