101
Views
3
Comments
[IdP] getting 404 - File or directory not found error
idp
Web icon
Forge asset by João Barata
Application Type
Reactive
Service Studio Version
11.53.43 (Build 62091)

Logout flow -


clicking on logout option getting logged out from Azure AD but after land on this url & got this above error



URL - https://personal-dw6o5vl5.outsystemscloud.com/IdP/SLO.aspx?SAMLResponse=fZJBS8QwEIX%2fSsk9Tdq03TR0C6KXhRXFFQ9eZJrMaqFNSid19d9bd%2fEgiMcZ5s17HzMNwThMZh9ewxIfkKbgCZPdzZa9VLKsq6wGrlRX8gIVcK0k8PyoVYc6UxsJLHnCmfrgtyxPJUt2RAvuPEXwcW3JXHGpeLZ5lJUpSpPpVOrNM0tukGLvIZ6VbzFOZISY1lXBw8DdqQrl%2b1Cmayb6pIgj2SEsLrVhFDt3Lw77uxRo%2blgN%2fU%2fox7BlvXvJEapO6kJjVhVyA2BVeSxqZbs8yxUolnyMgydz5t6yZfYmAPVkPIxIJlpzuLrdm5XGTHOIwYaBtc2Za75I%2fxcBEc7fXKz94aJI6an3Lpwo9RiF1QAduIqXquh44bTjulPInSqOx1piZqEWjbh4ts3lQocIcaHf1XVwmDzBsOD%2fmeg8bQ6LtUjERNuI30vFX1%2fQfgE%3d&RelayState=https%3a%2f%2fpersonal-dw6o5vl5.outsystemscloud.com%2fSSO%2fAdmindashboard%3f_ts%3d638146521075368787%26IdPAppName%3dSSO&Signature=YREggKI6DJFth6bvOVjvqFARLwTpZ85lIN2av7F6xKdPA1ikkPzirpjunGcl80TKkLAH801C3k69ZidnNetM%2fc0lCbTOT9H34CteBJuPVZn6EyYZGntO5XZnspqDEhCgEOwkFUtNFRWaVJ8yggHfIjDj12b8Ru19mDiBd1c9PwTFC0B4yryoTa5g2XFbi8eCfHOscOKX%2bxAm7ij%2bQyelvTc0aAaV2i4KIwmduigjbubvyFa1oT5F%2b%2b9tAGMaWbmGgpGVlqcCV1TYjYgg93f5rbWMaRRgb2d41CgnjDURVomEOOzIBZo%2fw7xKVzH1lCIzEN0pY0qeGPvO%2b36kH0rn6w%3d%3d&SigAlg=http%3a%2f%2fwww.w3.org%2f2001%2f04%2fxmldsig-more%23rsa-sha256#

SSO.oml
2023-01-25 05-43-21
Murugan S S

Hi Gopal, 

destination directory file not valid may be its changed or wrong file. Please check that

2020-10-08 19-51-35
João Barata
Staff

Hi @Gopal Mule ,

The issue is caused by the callback URL with the SAMLResponse being larger than the max allowed URL length.

You have two options here, either configure the external Identity provider to reply using a POST instead of a GET request or increase the max URL size by using the Factory Configuration component.

You can check how to increase the max URL size in the link below:
https://www.outsystems.com/forums/discussion/54206/url-length-with-query-string-parameters/#Post239326

UserImage.jpg
Duk Kyoo Kim
Staff

Hi @João Barata ,

I ran into the same 404 issue with long query string. I have followed your instructions in the link provided in order to increase the max URL size. I have also confirmed that the new shared configuration works for a regular screen but it doesn't seem to work for https://xxx.outsystemsenterprise.com/IdP/SSO.aspx endpoint. 

Any suggestions?

Update: Re-building and re-publishing IdP module fixed the issue. Thanks. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.