Hi All,
I am using the Outsystems ODC platform, and I current login setup involves Single Sign-On (SSO) with Azure Active Directory (AD Azure). Users have two options for logging in: either through the Outsystems login or AD Azure.
Currently, you're facing an issue with links. When a user clicks on a link, a browser opens and navigates to a page, passing parameters for a specific action. However, if the user chooses AD Azure for login, after successfully logging in, the parameters are lost. Instead, the user gets directed to the project's default screen.
On the other hand, if the user login using the Outsystems login, there are no issues. The action specified in the URL can be carried out as intended:
http://xxxxx.xxxxx.xxx/project1&action=Approve&recipe=544 <-- example only
Do you have any ideas on how to resolve this problem? Can you help me identify where the problem occurs and suggest a solution?
Thank you
Regards,
Ryan
Ryan,
Depending on your specific implementation, you may be reaching the 256 character limit that Azure SSO allows for return URIs.
Additionally, rather or not Azure allows you to even include input variables in the return URI depends on the account type that the user is logging in with, according to their documentation.
"Query parameters are not allowed in redirect URIs for any app registration configured to sign in users with personal Microsoft accounts like Outlook.com (Hotmail), Messenger, OneDrive, MSN, Xbox Live, or Microsoft 365. "
Their documentation can be found at: https://learn.microsoft.com/en-us/azure/active-directory/develop/reply-url
Hope this helps!
Best,RAD Manage