Authentication API returns a 404 for usernames containing a + symbol

Follow
    Applies to:
  • SecureAuth Identity Platform
  • Legacy SecureAuth IdP
Deployment model:
  • Hybrid
  • On Premises
  • Version Affected:  All

    Description:  

    When the authentication API receives a request in the base URL for a user account that contains a "+" symbol then a 404 error is returned by IIS, e.g.:

     /api/v1/users/simon+watts/throttle

     /api/v1/users/simon+watts/otpvalidatethrottle

    /api/v1/users/simon+watts/factors

     

    Cause:  

    When the + character is present in a base URL, IIS treats it as a double URL encoded character and blocks it by default.

     

    Resolution:  

    To enable the + character in the base URL you need to do the following:

    Open IIS Manager => Sites => Default Web Site(Expand to show all realms) => SecureauthXX => Request Filtering => Edit Feature Settings... => Check Allow double escaping => OK

     

    mceclip0.png 

     

    SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.

    Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products

    0 out of 0 found this helpful

    Comments

    0 comments

    Please sign in to leave a comment.