Skip to main content

Hello,

 

It’s been days and days that I’m trying to keep a stable connection using OAuth 2 behind an Identity Server 4.

I can log in, it works like a charm. My private zap works too.

The only problem is that when the token expires, there is no refresh. 

Using session auth doesn’t work too, it asks for credentials every time i test my zap.

I have read the documentation, read forum topics and applied everything that could be but nothing works as expected.

 

For OAuth2 configuration : 

I’ve set :

  • Authorization url and keeped default request body
  • Access token url and keeped default request body
  • Refresh token url (which is the same as access token) but set these parameters in the body (as seen on another topic in this forum)

 

I haven’t checked the “I want to automatically refresh on unauthorized error” because it makes first connection crash saying refresh_token field is missing.

 

This configuration works well during my access_token life. When I wait for him to expire, then launch again the test request : it says that it’s crashing and I need to re-connect.

 

Does anyone know how to fix this ? 

Thanks