Setting up ansible spoke on integration hub with an awx server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2020 12:08 PM
I am trying to setup the ansible spoke in integraration hub using Oauth2 authorization. However when I try to get an authorization token I get "http error 401 unauthorized" as the returned message.
I followed this documentation, https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/administer/integrationhub-store-..., is there anything special I need to do on my awx server? I am using the system admin credentials to authorize the token.
Thanks for the help,
John
- Labels:
-
Orchestration (ITOM)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2020 03:05 AM
Hi,
Check system logs for additional errors. Is the Token URL and profile correct?
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2020 08:25 AM
Hi,
There are no additional errors in the logs and the token url is correct. By profile do you mean the OAuth Entity Profile? For that I have the correct grant type and added the write scope.
Is there something that needs to be done on my awx server besides allowing external users to create oauth 2 tokens?
Thanks again

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2020 04:16 AM
HI,
I am not sure what rights the integration user has. oAuth table right access is required to allow to refresh and read the token as well.
Thanks,
Ashtosh