Problem with getting auth code and access token.

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
dongovor
User
Posts: 5
Joined: Tue Mar 09, 2021 6:46 am

Problem with getting auth code and access token.

Post by dongovor »

Hi everyone.

I'm creating bullhorn integration for my client and trying to connect to the bullhorn via API with client provided info(client id, secret,api username/pwd) but after I'm sending GET (or navigating via browser) to:
https://auth.bullhornstaffing.com/oauth ... tion=Login
I'm receiving: Unauthorized. Check your Bullhorn account.
But redirect URL contains ...callback?code=41%3.........a10
And when I'm trying to use that code to get access token by POST:
https://auth.bullhornstaffing.com/oauth ... ent_secret}}
Im receiving:
{
"error": "invalid_client",
"error_description": "Client authentication failed."
}

Is it need to contact the support to check access right or something?
jenmays
User
Posts: 11
Joined: Wed Feb 17, 2021 12:38 pm

Re: Problem with getting auth code and access token.

Post by jenmays »

You should have your client ensure that you have the correct Client ID, Client Secret, Username, and Password, and then try the process again. Let me know if you still require assistance and I'll be happy to assist further.
dongovor
User
Posts: 5
Joined: Tue Mar 09, 2021 6:46 am

Re: Problem with getting auth code and access token.

Post by dongovor »

With the newly generated creds all seems to work, but one question.
Is it normal that when I'm trying to get the code from https://auth.bullhornstaffing.com/oauth ... tion=Login
I'm always redirected to the page where I need to agree with ToS?)
jenmays
User
Posts: 11
Joined: Wed Feb 17, 2021 12:38 pm

Re: Problem with getting auth code and access token.

Post by jenmays »

I can turn that off, if you provide the Client ID.
Post Reply