Token that doesnt expire
Moderators: StaffingSupport, s.emmons, BullhornSupport
-
- User
- Posts: 1
- Joined: Thu Dec 17, 2020 10:25 am
Token that doesnt expire
Hey we heavily use your API and have to constantly generate new access and rest tokens. We are looking for a way for our account to stop expiring those tokens so they can be permanent and used indefinitely. Is this possible?
Re: Token that doesnt expire
Hi there,
We do require updated access tokens and it is not possible to use permanent authorization. I recommend taking a look at http://bullhorn.github.io/Getting-Started-with-REST/ and utilizing a refresh token to generate a new access token.
We do require updated access tokens and it is not possible to use permanent authorization. I recommend taking a look at http://bullhorn.github.io/Getting-Started-with-REST/ and utilizing a refresh token to generate a new access token.
Re: Token that doesnt expire
what is the token duration?tluczak wrote: ↑Thu Dec 17, 2020 12:11 pm Hi there,
We do require updated access tokens and it is not possible to use permanent authorization. I recommend taking a look at http://bullhorn.github.io/Getting-Started-with-REST/ and utilizing a refresh token to generate a new access token.
Re: Token that doesnt expire
I am using ping before every REST API call to check the expiry time and then I use Refresh Token as suggested to get a new access token and re-login.
http://bullhorn.github.io/rest-api-docs/#get-ping
http://bullhorn.github.io/rest-api-docs/#get-ping