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

renamed endpoint for mscolab authentification #1843

Merged
merged 1 commit into from
Jul 31, 2023
Merged

renamed endpoint for mscolab authentification #1843

merged 1 commit into from
Jul 31, 2023

Conversation

joernu76
Copy link
Member

With this change, we can "patch" the mscolab server to serve both 8.x and 9.x but do not need to. This can actually remain in develop, but we can remove it as well. I think it is better this way.

@joernu76 joernu76 requested a review from ReimarBauer July 28, 2023 06:26
@joernu76 joernu76 linked an issue Jul 28, 2023 that may be closed by this pull request
@@ -203,7 +203,7 @@ def home():
return render_template("/index.html")


@APP.route("/status")
@APP.route("/status_auth")
@conditional_decorator(auth.login_required, mscolab_settings.__dict__.get('enable_basic_http_authentication', False))
Copy link
Member

@ReimarBauer ReimarBauer Jul 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this makes upcoming 9 consistent. It means also without /status any older version of msui knows to be outdated

We could also add a hint for that change into the 8.1.x

We could also use a complete different route name. /get_status, /info, /hello

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, I think it can stay as this. A better name would maybe be "authenticate"? but the current one is fine. Any changes required?

Copy link
Member

@ReimarBauer ReimarBauer Jul 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We remember this with the merge of the work from @nilupulmanodya

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.. Thanks for remembering :)

@ReimarBauer ReimarBauer merged commit aa68906 into develop Jul 31, 2023
@ReimarBauer ReimarBauer deleted the i1842 branch July 31, 2023 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mscolab authentfiation backwards compatibility
3 participants