What is the advantage in OAuth2 of the implicit grant over authorization code grant?
Specifically I’m wondering why the implicit grant is recommended for public clients but the authorization code grant is not. They seem so similar that the difference is unimportant.
Compare client action in both cases keeping in mind that client – is a piece of software you will have to write on your own.
In case of
Authorization code grantclient does those steps defined in spec:In case of
Implicit Grantit has to do:Now the answer is more or less trivial: the amount of code in first approach is unknown but could substantial against almost negligible for the second approach.