oauth grant types

Recently we need to integrate our frontend spa with oauth(call third party apis), Need to figure out which grand type fit which use case. The specification describes five grants for acquiring an access token: Authorization code grant Implicit grant Resource owner credentials grant Client credentials grant Refresh token grant So most common is 1 and…