-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Username/Password auth: improve auth flow #102
Comments
@mikeleigh You can ignore that, it is not an error when you are using username/password authentication. The rd tool first makes the API request without authentication to receive an "Unauthenticated" response, before submitting the username/password for authentication. It could be more sophisticated with detecting when/how to send authentication. If it is really undesirable for you, you could switch to Token authentication which does not do that. I will rename this issue to reflect that the Form auth flow should be enhanced for a nicer interaction with the server. |
@gschueler switching to token authentication removes these errors as suggested. It does however add the headache of the expiring 30 day tokens, a different issue. |
@mikeleigh yes. fyi the 30 day limit is the default, can be changed or removed. see http://rundeck.org/docs/administration/configuration-file-reference.html#security under |
@gschueler I figured you may have an option for that but I just hadn't got around to looking for it yet. Looking forward to seeing the enhancement when it is ready. Thanks. |
Just migrated from Rundeck 2.6.11 to 2.8.2-1 on a CentOS 6.5 Server using the standard yum method and am noticing some errors with the rundeck.log.
Using 2.6.11 (and earlier versions) the "rd-jobs load" with yaml files was working perfectly for us. We have migrated our scripts to use "rd jobs load" with the new rd tools and have noticed the following behaviour in the rundeck.log.
We receive two ERROR notifications and then the job is loaded and scheduled accordingly.
The same yaml files were working on 2.6.11. The job within Rundeck works flawlessly (from the GUI) and even exports the same yaml as we are loading.
The rd.conf has been created and we have entries for the following:
Do you need any additional information? Is this is a bug / issue, user error or soemthing we have missed entirely?
The text was updated successfully, but these errors were encountered: