Mark
Mark

Reputation: 69920

OAuth 2.0 for APIs

I'm not an OAuth expert, and I saw the first release as extremely complex for handling the "flow dance" inside server side code (or, at least for me, quite impossibile).

Does OAuth 2.0 introduce new ways to accomplish an authentication that is suitable for APIs?

Thanks

Upvotes: 2

Views: 494

Answers (1)

Stephen Dryden
Stephen Dryden

Reputation: 571

From my experience OAuth 2 is much easier to implement than OAuth 1. If you want to see a quick overview check out these two flow charts for comparison. OAuth 1 and OAuth 2.

If you're going to implement OAuthentication I'd recommend checking out existing libraries first.

Upvotes: 1

Related Questions