Hi Team,
How can we restrict portal access to all the public users, Our requirement is can we access portal by using tokens? like will pass the token to the url parameters and validate it with expiration time, if so how can we genarate tokens in appian and access it
Thanks,
Discussion posts and replies are publicly visible
You could create a small dictionary, turn it into JSON, encrypt it, and share it with the user in the URL as a parameter.
You can restrict portal access using tokens. Generate tokens store them in a database table with expiration timestamps. Pass the token as a URL parameter (portal.com?token=xyz), then validate it in the portal's load to check if the token exists and hasn't expired. Based on validation results, conditionally show or hide portal content using showWhen parameters.
In addition to the 2 good suggestions already submitted, another thing one can consider in this use case (not to replace the URL parameter idea but perhaps to supplement it) would be to ask the user to type in something they've already been provided, like a one-time-use PIN, etc, which you could set up a system where such information needs to match the encoded data passed in via URL parameters.
hi mike, i tried of using the JWT Plugin but i see the plugin is not supported in portal, i see below error
xpression evaluation error [evaluation ID = a09a4:fe553] in rule 'gbl_uiparentpngchecklistportal' at function 'validatejwtsignature' [line 130]: Expression evaluation error : The function 'validatejwtsignature' is unavailable.