You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the SDK supports only the access token which will expire within 15 minutes.
Current behavior:
The ApiClient is generated by default with the HttpBearerAuth authentication class and it can not substitute or overwrite therefore the only way to add a refresh token logic is to wrap the whole API and check if the token is expired before calling the API.
Expected behavior:
The ApiClient should support the OAuth token refresh logic or it should allow the user to pass/set/overwrite the authentication with a custom one.
From some of the existing issues on the openapi-generator project:
Currently, the SDK supports only the access token which will expire within 15 minutes.
Current behavior:
The
ApiClient
is generated by default with theHttpBearerAuth
authentication class and it can not substitute or overwrite therefore the only way to add a refresh token logic is to wrap the whole API and check if the token is expired before calling the API.Expected behavior:
The
ApiClient
should support the OAuth token refresh logic or it should allow the user to pass/set/overwrite the authentication with a custom one.From some of the existing issues on the openapi-generator project:
which make me things that we only need to propose an improve to the openapi-generator project
The text was updated successfully, but these errors were encountered: