-
Notifications
You must be signed in to change notification settings - Fork 7
Explicitly allow creation of MC without auth #249
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
base: master
Are you sure you want to change the base?
Conversation
…h if it was not provided
Pull Request Test Coverage Report for Build 16217492951Details
💛 - Coveralls |
@JanCaha do we need to release this for the upcoming qgis-plugin release? |
If we want to solve the SSO auth properly then quite likely yes. I will discuss it tommorow on standup with Stefanos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wondering if this has_auth will be valid after some actions.
I thinks _auth_params is mos important thing, as there is stored username and password.
we can ask also @wonder-sk for 👁️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
How about removing the leading _
now that check_token is used everywhere?
Use
@_check_token
on functions that require authorization and not on all requests towards server. That allows some requests like/config
and functions related to it to be usable without user being logged.Simplify function
login()
not to use custom request logic, but utilizepost()
function that is part of MerginClient.Add tests cases.