-
Notifications
You must be signed in to change notification settings - Fork 148
ArgusWeb can't login #74
Comments
Hey @numbnut, Apologies for the delayed response, but we've just been a tad busy. Argus will always require a login via the /auth webservice endpoint. The default UI is wired to that endpoint. If you're accessing it through the web UI, you will always get a login form. Now, you can effectively turn off authentication, by binding the NoAuthService implementation. You'll still get the login form, but you can type in any username and password. To enable the NoAuthService implementation use the following configuration: In the main configuration fileservice.binding.auth=com.salesforce.dva.argus.service.auth.NoAuthService In the auth specific configuration file add this propertyIf set to true, all users will get privileged access. If omitted, it defaults to 'false'service.property.auth.noauthservice.privileged=false A couple of things to consider:
http://stackoverflow.com/questions/16296145/set-cors-header-in-tomcat |
Hi @saaja-sfdc, thanks for your response. Just to let you know the context. I am only trying to setup a non production system. Security related topics are not relevant for me at the moment, but I will keep them in mind. |
@numbnut |
@aertoria thanks for your reply! I will check that on Monday, because I can't access my development environment at the moment. |
Thank you very much! It was the CORS problem. Now everything works as expected. |
Hi,
I want to launch the Argus platform without ldap support. I did this by adding
to the argus.properties file. For the argus.properties I used the blueprint in the Getting Started Section for the integration tests. I hope that's ok. When I open the website a login prompt shows up.
Is this behavior correct? Which credentials do I have to enter?
If I enter some credentials and hit the submit button a toast message 'Login failed' shows up.
Confusing to me is that the only request which is sent after hitting the submit button is an OPTIONS request, which gets a response code of 200 and returns the verbs POST and OPTIONS.
I would expect a POST request, which should trigger a message like 'Login failed'.
Basically I have two questions.
How do I enable the NoAuthService and how can I check that it is working?
Is the login behavior described above as expected?
Thanks for your help!
The text was updated successfully, but these errors were encountered: