500 Error When trying to login

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
lloydevaporate
User
Posts: 11
Joined: Fri May 17, 2019 8:20 am
Contact:

500 Error When trying to login

Post by lloydevaporate » Thu Jun 20, 2019 8:30 am

So I currently have a pretty major issue with regards to user sign in.

I'm using passport in an express app for a client, and after banging my head against the wall trying to just let passport and the bullhorn passport strategy from the official repo I decided to check the routes myself and sure enough whenever the OAuth route is called bullhorn throws a 500.

My request is correct, the data is valid, my callback is correct. The only way I can get past the initial auth code request is to fudge the request by appending &action=Login which is not applicable when trying to sign in using passport.

The route that is called when signing is is https://auth.bullhornstaffing.com/oauth ... e/callback

https://imgur.com/NVlUVTl

This is after following the exact instructions from this guide
http://bullhorn.github.io/Getting-Started-with-REST/

Any help would be greatly appreciated, I've already got this working in PHP however I'd prefer to use a more standardised and secure way of logging clients in through bullhorn.
Thanks in advance

Post Reply