Open electronicpeter opened 4 years ago
Tpp returns service-session-id which actually has functionality of a consent handle for client. But consent is not valid for all times and has an expiry date. But client does not get this information and is forced to reuse conent untial 503 is returned from server (see https://app.zenhub.com/workspaces/open-banking-gateway-5dd3b3daf010250001260675/issues/adorsys/open-banking-gateway/788).
Client needs to get information of expiry date. Good place to return expiry date would be response of v1/banking/consents/{auth-id}/onfirm method.
check it again with Peter
https://jira.adorsys.de/browse/OBG-72
Tpp returns service-session-id which actually has functionality of a consent handle for client. But consent is not valid for all times and has an expiry date. But client does not get this information and is forced to reuse conent untial 503 is returned from server (see https://app.zenhub.com/workspaces/open-banking-gateway-5dd3b3daf010250001260675/issues/adorsys/open-banking-gateway/788).
Client needs to get information of expiry date. Good place to return expiry date would be response of v1/banking/consents/{auth-id}/onfirm method.