[progress Communities] [progress Openedge Abl] Forum Post: Re: Authentication Problem With...

  • Thread starter Thread starter whenshaw
  • Start date Start date
Status
Not open for further replies.
W

whenshaw

Guest
After you have logged in to your data service, you will *not* need to log in for every request you make. If you are running in a browser and close the browser, you will need to log in the next time you run the app. And it's also possible that the session created on the server will time out at some point. Regarding the login interface, the JSDO library assumes that the app itself has a login screen or some way of getting user credentials, and that the app code will pass those credentials to the JSDOSession.login( username, password ) call. Are you using Telerik Platform? It has a "Progress Data Service" template available that includes a login page and code for doing the login, getting the catalog, and displaying data. You can get the template from the "Create App" screen by clicking on the "Advanced" tab -- it will then show you a list of available templates, including Progress Data Service. The template is also available at GitHub: github.com/.../appbuilder-mobile-template Regarding the CORS error that you are getting -- that may be due to a bug in OpenEdge 11.6. Your login call should work if you set the authenticationModel and pass credentials, but there is a bug in 11.6 that interferes when Form authentication is used with CORS. The bug is being fixed in OE 11.6.1. I might be able to help you figure out a temporary workaround, for development purposes, before the release of 11.6.1, if you would like.

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