141,927 views
37 votes
37 votes
What is the difference between basic auth and oauth.

User Phix
by
3.0k points

1 Answer

17 votes
17 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 Masaya
by
3.1k points