by A lot of developers confuse OAuth with web session management and hence end up using the wrong protocol/set of technologies.
The difference between user session management and OAuth is the level of trust between the communicating parties.
YourApp has the following components: OtherApp has the following components: Now, let’s see the different access patterns: One way of doing this is to simply use session management between your frontend and backend.
The core difference between OAuth and session management is one of trust.