15
Views
1
Comments
[Azure AD Login Connector] Factory Configuration returning Error 404 on login
azure-ad-login-connector
Service icon
Forge component by Grayson Udstrand
Application Type
Service
Service Studio Version
11.54.22 (Build 62709)

When logging into my app using my Microsoft account, I get the message: "404 - File or directory not found."

I'm assuming this is due to the URL being too long (1064 characters) to be exact, and I've tried using the Factory Configuration component to fix this, but when logging in using my service center credentials, I get an error message that says "The request failed with HTTP status 404: Not Found."

When looking at the Network tab in Chrome developer tools, I don't see anything that returns a 404, everything actually looks fine and returns 200 OK.

I know my credentials are correct, as I've used them to log into service center. The environment is shared, not personal, and I'm not sure if that could have an effect on it. 

Hello Umut,

You will run into the same problem in a shared environment that you do in a personal environment. OutSystems will not permit you to change the max URL length in a shared environment so you will not be able to use OAuth with Azure, I am sorry to say. 

Perhaps if enough people pester OutSystems support about it they would consider increasing the default max URL length? 

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