cancel
Showing results for 
Search instead for 
Did you mean: 

Auto login to OKTA when refreshing the token

ricardoTyson
New Contributor II

Hi guys, we have implemented secutiry in our api with okta using a token and works fine but when the token expires it won’t refresh the token automatically (even though Auto-refresh token is checked) so we have to enter to the Account(REST OAuth2 Account) and click authorize to get a new one but it opens a pop up window asking to put your okta credentials, so we always have to do it manually because we don’t want to be spreading the credentials nor have to be refreshing the tokens manually.
Is there a way to make the Account to automatically log in to okta and to refresh the token without someone having to get a new token every hour and a half?
note.refresh button in Account window won’t work as it displays “error: access token refresh failed”
thanks for reading.

1 REPLY 1

saradav
New Contributor

@ricardoTyson did you ever find a solution to this? I’m having the same issue with a REST OAuth2 account (not with Okta, just the manually having to authorize a new token)