How to Get Auth Code from Custom Menu Action?

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

Moderators: StaffingSupport, pmularski, BullhornSupport

Post Reply
lunchpaillola
User
Posts: 4
Joined: Tue Aug 06, 2024 9:27 pm

How to Get Auth Code from Custom Menu Action?

Post by lunchpaillola »

Hey all,

I'm currently testing a Bullhorn custom action as part of an integration I'm developing for the Bullhorn Marketplace. I understand there's a field to specify a partner so that when the custom action triggers the URL, the auth code is included for authorization with Bullhorn.

How can I get my integration to show up in the partners list during development? I've selected the "Bullhorn PS" option, but I'm noticing that the auth code isn't coming through when I run the custom action. I already have a client ID and a developer account set up.
CleanShot 2024-08-14 at 13.08.02@2x.png
CleanShot 2024-08-14 at 13.08.02@2x.png (214.7 KiB) Viewed 1175 times
Could you guide me on how to get my integration to appear in the partners list so that I can properly test receiving the auth code? Is there anything else I need to do to ensure that the auth code is included in the request?

Thanks in advance for your help!

Best,
Lola
realalexvdvalk
User
Posts: 13
Joined: Thu Aug 31, 2023 4:15 am

Re: How to Get Auth Code from Custom Menu Action?

Post by realalexvdvalk »

Selecting a "Partner name" will include a ?timestamp, ?nonce and ?authCode query string parameters onto your custom URL. I think the original use of this was to validate that the request actually comes from a Bullhorn user.

I'd suggest you rather use a redirect to the bullhorn auth server and fetch a new BhRestToken whenever the custom tab is opened.

DM me if you need more information.
Post Reply