Menu

API Keys and OAuth 2.0: How Applications Communicate Securely
📰

API Keys and OAuth 2.0: How Applications Communicate Securely

DEV Community: backend·Akhileswar Sathivada·2 days ago
#fp8AlICi
Reading 0:00
15s threshold

In our previous articles, we explored how authentication works using passwords, hashing, sessions, cookies, and JWTs.

But there's another interesting problem in backend development.

Imagine you're building a weather application. Your application needs to retrieve weather information from an external service such as a weather API.

Or perhaps you're building an application that allows users to upload files to a cloud storage service.

How does your application communicate with these external services securely?

How does one application prove that it is allowed to access another application's resources?

This is where concepts like API Keys, Access Tokens, and OAuth 2.0 come into the picture.

Let's understand them from the basics.

1.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.