Forum Post: REST OERealm form security login using CORS

  • Thread starter Thread starter fredhamelin
  • Start date Start date
Status
Not open for further replies.
F

fredhamelin

Guest
Hi, I have been trying to use CORS with my REST service and it seems to work once I'm authenticated. But if I try to authenticate via a cross-domain ajax call, the preflight OPTIONS request returns a 403 Forbidden error. Here is my current config for the OECORSFilter : b:bean id="OECORSFilter" class="com.progress.rest.security.OECORSFilter" b:property name="allowAll" value="false" / b:property name="allowDomains" value="*" / b:property name="allowMethods" value="GET,POST,PUT,DELETE,OPTIONS" / b:property name="messageHeaders" value="x-requested-with" / b:property name="supportCredentials" value="true" / /b:bean Is there a way to authenticate from another domain or I absolutely have to use the login form in static/auth/login.html ?

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