-
Notifications
You must be signed in to change notification settings - Fork 8
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
Planka Auth with a SSO backend #8
Comments
I haven't added support for SSO as I haven't used planka with it and don't have a testing environment. I've added a bypass to the username and password authentication method for now in b4c3873, that should let you pass a token provided by your SSO and bypass the username/password login planka = Planka("https://planka.mydomain.com", access_token="mytoken") Should be all you need now to get it working as intended |
Thanks for your proposal May be I am wrong but your new constructor def init(self, url:str, username:str, password:str, templates=None, access_token=None) seems to request login/password as mandatory args |
Thanks for catching that. This is what I get for trying to hotfix code while doing 5 other things at work haha. Latest commit (7a93330) makes the constructor arguments all keyword except url. I plan on re-writing a lot of this code once Planka 2 is released. |
I have tested from a clone of your master branch: It works ! Can you publish a new release on Pypi ? |
Released under v1.0.1 tag and deployed to PyPi |
Hello Team
I am trying to use you python project in order to use Planka API
Our planka is configured to use our SSO portal for managing authentication (ie not login/password).
How does the authentication is working by using your Planka python package ?
I seams that only login/password is possible.
Is it possible to provide a custom bearer token in order to manage authentication ?
Have you got a python example ?
The text was updated successfully, but these errors were encountered: