To obtain barear token access_token
additionally this tutorial contain flow for offline_access
which allows you to refresh access token, you have to :
-
At the beginning, you have to specify
client_id
which is yourapp id
, and scopesopenid, profile, email, account
are required one. Additionally if you want to be able to refresh access token then addoffline_access
. This step is usually what user will see. -
When you obtain code from previous call you can call
POST: /connect/token