OAuth Redirect URL issue

Forum for users and developers of Bullhorn's new REST API service.

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
apimocha
User
Posts: 4
Joined: Mon Aug 06, 2018 5:48 am

OAuth Redirect URL issue

Post by apimocha » Sat Aug 11, 2018 7:42 am

Hi team,

We're on sandbox environment with 3 users provided to us Admin, Standard, REST API User (with Client id and Client Secret).

I'm following this article "https://bullhorn.github.io/Exploring-th ... h-PostMan/" and I'm stuck on "Using OAuth to connect to Bullhorn" point, Where I'm getting the following error.

Image

I've checked in all 3 accounts, but couldn't find OAuth settings option.

Please kindly help me.

DanJSupport
User
Posts: 22
Joined: Mon Aug 15, 2016 9:57 am

Re: OAuth Redirect URL issue

Post by DanJSupport » Tue Aug 28, 2018 9:41 am

Hi Apimocha,

I was able to check the Client ID you are using and you have just the default redirect URI of https://www.bullhorn.com. If you are not needing a redirect URI, you can leave that parameter off when making the O-Auth calls:

Code: Select all

GET  https://auth.bullhornstaffing.com/oauth/authorize?client_id={client_id}&response_type=code

POST  https://auth.bullhornstaffing.com/oauth/token?grant_type=authorization_code&code={auth_code}&client_id={client_id}&client_secret={client_secret}
Dan Johnson
Tier 2 / Enterprise Support
Bullhorn Support US: 617-478-9126
Bullhorn Support UK: 44 800 032 2848
Bullhorn Support Australia: 61 28 073 5089
Bullhorn Support International: 617-478-9131

apimocha
User
Posts: 4
Joined: Mon Aug 06, 2018 5:48 am

Re: OAuth Redirect URL issue

Post by apimocha » Thu Sep 06, 2018 3:01 am

Thanks, issue is fixed now. I've asked support team to set Redirect URI to our qa application.

Post Reply