#Password In the Mura admin create a webservice and set it to OAuth2 Password and then use it's client_id and client_secret with this
#Client Credentials
#Implicit
redirect to login
{web_login}?response_type=token&client_id={client_id}&redirect_uri={redirecto_uri}&state={state}
User logs in and is redirected to {redirecto_uri}?token_type=bearer&expires_in={expires_in}&access_token={access_token}&state={state}
You can then reread the token info with this
#Authorization Code
- redirect to login
{web_login}?response_type=code&client_id={client_id}&redirect_uri={redirecto_uri}&state={state}
-
User logs in and is redirected to {redirecto_uri}?code={code}&state={state}
-
Get access_token with code http://localhost:8080/index.cfm/_api/rest/v1/{siteid}/oauth2/?grant_type=aauthorization_code&client_id={client_id}&client_secret={client_secret}&redirect_uri={redirect_uri}&code={code}
#Refresh Token