I am creating SAML 2.0 based authentication for a web application. Authentication is performed on the WSO2 Identity Server (WSO2-IS). I managed to get the actual authentication using HTTP redirect. However, now I am having problems trying to βupdateβ authentication information from the identity server.
The problem is that claims returned by WSO2-IS have a lifespan of only 5 minutes. Therefore, based on this, I should get a new approval from WSO2-IS every 5 minutes. However, I did not find another way to do this against WSO2-IS than to do another round of redirection. Redirecting a user to another location every five minutes is not very convenient.
SAML 2.0 specifies an AuthnQuery query that must be executed using SOAP over HTTP. If I understood correctly, AuthnQuery will be exactly what I need to re-request approval information for the user, but it seems to me that WSO2-IS does not support this query.
So the question is, how can I update (or re-request) the approval information from the WSO2 Identity Server without having to redirect the user from the page they are currently accessing?
source share