[progress Communities] [progress Openedge Abl] Forum Post: Re: Rest Oerealm Authentication...

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
P

Peter Judge

Guest
Which OE version are you using? I have a memory of there being a bug in this regard: form auth and the content type. I don't remember the exact version but I've included the text from what was to be a release note below. Does trying this work? When using HTML Form client authentication in classic REST services or PAS for OE services the server does not correctly detect the request for a JSON encoded response, resulting in the server incorrectly returning a HTML encoded response. The symptoms generally exhibit themselves in the client, expecting a JSON response, do not correctly handle the server’s HTML type response and fails the login operation. There is a workaround for this behavior in the server’s Spring Security configuration file. Open the Spring Security configuration file you configured in your web application’s /WEB-INF/web.xml descriptor file. In that Spring Security configuration file make the following edits that are indicated in bold:

Continue reading...
 
Status
Not open for further replies.
Back
Top