Messtone LLC Manages(OAuth):DevExchange

Messtone Devices Enables Capital One DevExchange OAuth2 Authorization as follows example: Authorization: Bearer 5GL2OgQFOX3qOu10BOgwNhjBO1wnxt5iSxlzypIhivgBNZl8eJVdagTyjOFD..OVuOONZ1oyA1tRNO3N5Z.ehuqqbOzlAHaDtLeqwhwQONE90tXXtprD4Mx9YHek5x8Av8Ktjxl9joLlmypaKOuZlHaTYg7uXZJWGCDcUbScwzTUesaYxYCDgycKDQt3LBTL1W17ZPAFmHB5GL20gQFOX3qO1u10BOgwNhjBO1wnxt5iSxlzypIhivgBNZl8eJVdagTyjOFD.. OVuOONZ1oyA1tRNO3N5Z.ehuqqb0zlAHaDtLeqwhwQONE90tXXtprD4Mx9YHek5x8Av8Ktjxl9joLlmypaKOuZlHaTYg7uXZJWGCDcUbScwzTUesaYxYCDgycKDQt3LBTL1W17ZPAFmHB Generate Messtone OAuth cURL,the call curl -i –tlsv1.2 -X POST {ENVIRONMENT_HOSTMESSTONE}/oauth2/token -d client_id=MESSTONE_CLIENT_ID -d client_secret=MESSTONE_CLIENT_SECRET -d grant_type=client_credentials Messtone making the call in the browser’s address bar: {ENVIRONMENT_HOSTMESSTONE}/oauth2/authorize?client_id=MESSTONE_CLIENT_ID&redirect_uri=MESSTONE_REDIRECT_URI&scope=APPROPRIATE_SCOPE&response_type=code&state=MESSTONE_STATE_VALUE Redirect URI and display in the browser’s address bar: https://www.redirecturi.com/?code=yH_GuChI9toMzIASBbFLh-PyIWWqLOVDg040og curl -i –tlsv1.2 -H “Accept:application/json” -H “Content-Type:application/x-www-form-urlencoded”-d “client_id=MESSTONE_CLIENT_ID”-d “client_secret=MESSTONE_CLIENT_SECRET”-d “grant_type_refresh_token”-d “refresh_token=REFRESH_TOKEN_FROM_ACCESS_TOKEN_RESPONSE” -X POST {ENVIRONMENT_HOSTMESSTONE}/oauth2/token response is the same: HTTP/1.1 200 OK {“access_token”:”TMjU2IiwicGNrIjoxLCJhbGciOiJ…”,”token_type” : “Bearer”,”expires_in” : 900,”refresh_token” :”c47JrxxRWEu12yvl79yi-oOUEb3C2rXC…”}

Leave a comment