I need to authorize the user against Azure AD every time he click on a save button.
I am able to authorize for the first time using a!authorizationLink via the connected system with OAuth 2.0 Authorization Code Grant. This authorization is active for 15 mins (because the access token may be having an expiry of 15 mins.)
Now, all the sub-sequent integration calls are getting authenticated for next 15 mins but I want to restrict it and force the user to re-authenticate again and always (whenever he clicks on Save button) via the connected system and a!authorizationLink.
Any thoughts would be a great help. TIA.
Discussion posts and replies are publicly visible
Why is that necessary? I would not want to be a user of your app ;-)
Just checked google. I think you would need to talk to Microsoft to see whether there is a way to revoke that token e.g. by calling an API.
Due to a security compliance, application need to validate the user credentials when they try to update/save sensitive data elements.
Will check with Microsoft whether they could revoke/invalidate the token once used
Also, do you think, we can't invalidate that Token from Appian end ?
In a Java application you could just throw the token away after using it once. Then you need a new one. Appian does not support this kind of low level access.