Open fmquaglia opened 9 years ago
Sounds feasible. We don't currently consume this gem right now, but if you want to add that functionality I will merge.
Right on @ghempton . You'll have it shortly. Thanks, man.
I added this to my clone - will send PR momentarily.
I've been using @draknor 's branch, and so far it works really well. Thanks matey.
No problem - glad to help! Will try to get my other enhancements better segregated & organized so I can send PRs for those, too.
Recently while trying to auth at
https://auth.bullhornstaffing.com/oauth/authorize?action=Login&client_id=XXX&response_type=code&username=XXX
(replacing XXX with my own values) I got the following server error:At Bullhorn's forums I found this solution.
So it seems that might be necessary to make the url variable of the Bullhorn::Rest::Authentication login method configurable (via constructor's attribute maybe?).
Otherwise hitting the one that is hardcoded throws an error (if the user must use an alternative instance instead of the default one -- e.g. auth9...... --):
Does that seem feasible?