Reputation: 5920
When using OAuth2 system in an API we talk about client_id
and client_secret
. What exactly is a client? Is it a person/user? Or is it the platform? iPhone, Android, etc.?
Upvotes: 1
Views: 129
Reputation: 524
Client in most cases is the App.
In OAuth you have 3 roles, ServiceProvider
, ResourceOwner
and Client
. There is also an additional role for Authorization server but for most implementations AuthServer and ServiceProvider are both the same.
I can give you an example that will help you understand better.
OAuth is a specification that standardizes this interaction.
Upvotes: 2
Reputation: 1338
The client is a computer/device which sends requests to the server. The server responds to the clients requests.
Upvotes: 0