To use our oAuth2 authentication server, you have to authenticate with your backend, save the token, and then use it with your javascript frontend code.
PHP
Java
oAuth2 Return
oAuth2 will return:
access_token : required for all JSON calls
token_type: read/write
refresh_token: The refresh token
expires_in: When will the token expire (in ms)
scope
jti