Overview
The Implicit grant type is optimized for public clients, such as those implemented in JavaScript or on mobile devices, where client credentials cannot be stored.
Example Request
POST
/?oauth=authorize HTTP/1.1
Headers
Content-Type: application/x-www-form-urlencoded
Body Request
response_type=token
&client_id={client-id}
After a successful request, the user’s browser will be redirected back to the client containing URL parameters.
#access_token={access-token}&expires_in=3600&token_type=Bearer&scope=basic
If there is an error in the authentication, the server will respond which such in the URL parameters.