pradeep kanukuntla
Can we expect OAuth for xmatters in future?
Even when outbound properties were triggered, xmatters API were not populating extra details about the event(except event identifier).
0
Comments
Please sign in to leave a comment.
Hey Pradeep!
Let me know how you get on with those.
Happy Monday!
--- Travis
Hi Travis DePuy,
Thanks for your updates. I will post a comment after referring your posted URL's.
Thanks
Hi Travis DePuy,
For xMatters OAuth, why should pass username and password in request? If we were removing those two attributes we are getting 401 unauthorized. And even token url is different for different domains. Can there is perticular(single token url for all user's and all domains) token url to generate access token?
For other details about events, I am satisfied with your URL.
Thanks
Hey Pradeep,
The user information helps determine the level of permissions that should be allowed to the incoming requests. As for the domains, each xMatters instance has a unique url and is tied to the "Company" the instance is for.
What are you looking to do with this token?
Happy Tuesday!
--- Travis
Hey Pradeep,
Can you clarify this question?
You will use the GET /oauth/token endpoint to retrieve a token by passing the username, password and client id (and the grant_type of "password"). This will get you a token that you can then use in place of the username and password when you make calls to the XMAPI endpoints by including the token as a Bearer authorization. Example here. The token will expire, but you can use the soon-to-be-expired token to get another token by making another call to GET /oauth/token, but instead of passing the username and password, you would pass the current token. See here.
I hope that helps clarify. Let me know if anything doesn't make sense.
Hi Travis DePuy,
My question is, Why token url tied to the "Company" name. Is it possible to exclude "Company" name from that url.
Thanks
Hey Pradeep. Unfortunately, no. Our architecture right now requires the company. We've run into a few integrations this causes problems with though. Do you have a specific use case or integration in mind? We'd be interested in exploring options.
Hi Travis DePuy,
Thanks for your updates. Right now i don't have any use case or integration. Sure i will let you inform if i had.
-->When outbound url triggers, No information related to whom the email was sent to?(is it possible to get?).
-->Can we set customized responses(other than acknowledge/escalate) for events?
Thanks
Glad to help.
Happy Crazy Hat Friday!
Hi Travis DePuy,
Thanks for your updates.