Skip to content
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

Authentication with redmine is not done #158

Open
lfdominguez opened this issue Dec 9, 2015 · 2 comments
Open

Authentication with redmine is not done #158

lfdominguez opened this issue Dec 9, 2015 · 2 comments

Comments

@lfdominguez
Copy link

I use the redmine backend but not autenticate, the code to get working is:

auth_handler = urllib2.HTTPBasicAuthHandler()
auth_handler.add_password(realm='Redmine API',
                             uri=<uri_of_request>,
                             user=self.backend_user,
                             passwd=self.backend_password)
opener = urllib2.build_opener(auth_handler)
urllib2.install_opener(opener)

That's work for me, and the options to put the API Key i dont see into the code, is coded already???

@sduenas
Copy link
Member

sduenas commented Dec 17, 2015

Thanks for the snippet @lfdominguez, you're right on Redmine authentication does not work. I will try to integrate this as soon as possible.

@lfdominguez
Copy link
Author

And the authentication with API Key??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants