oauth/authorize returns a 404 / The requested resource is not available.

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
Edofre
User
Posts: 2
Joined: Wed Dec 16, 2020 4:29 am

oauth/authorize returns a 404 / The requested resource is not available.

Post by Edofre »

Hello everyone,

For a client I'm trying to make a connection to their Bullhorn account, I have a client_id & client_secret and I have a username and password. Both are working and valid, if I try to get an authorization token and add a character to either the client_id, username or password I get a proper response telling me they're incorrect.

Using the username and password I can also successfully login to this environment: https://cls23.bullhornstaffing.com/Bull ... HLogin.cfm. When I try to contact support using that account I get redirected to an error page on a different domain (https://bullhorn.secure.force.com/) with the message saying I should send them an email, however when I click that mailto link there is no specified email address to send my email to...

The URL's I've tried are: Example of the URL that is giving me the 404 response with the message: "The requested resource is not available."

Code: Select all

https://auth.bullhornstaffing.com/oauth/authorize?client_id=***********&response_type=code&action=Login&username=***********&password=***********
I'm not using a redirect_uri, in the email my client forwarded me where Bullhorn support provided him with the client_id & client_secret there was no mention of any redirect_uri.
I've tried all request with and without a state, this does not affect the responses at all.
I'm using Insomnia as my REST client, however if I just use the browser and paste the URL's in I get the same result.

Any help would be greatly appreciated, if you need more information please let me know.
tluczak
User
Posts: 14
Joined: Fri Apr 10, 2020 11:02 am

Re: oauth/authorize returns a 404 / The requested resource is not available.

Post by tluczak »

Hi there,

API usernames are not to be used to login to the Bullhorn UI. For more information about using and formatting API calls please see this information: http://bullhorn.github.io/rest-api-docs/.
Edofre
User
Posts: 2
Joined: Wed Dec 16, 2020 4:29 am

Re: oauth/authorize returns a 404 / The requested resource is not available.

Post by Edofre »

Hi tluzak,

Thanks for your response, however this is the user that has been provided to me by Bullhorn support (forwarded e-mail from my client). Therefore I assume I'm authorizing with the proper API user. If I make the same call with an incorrect password I actually see the message that those credentials are incorrect.

That's the reason I'm stumped I'm getting a 404 from the endpoint..
Post Reply