-
Notifications
You must be signed in to change notification settings - Fork 18
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
[WP #60683]display error if oidc apps not supported #768
Conversation
63061d9
to
f704008
Compare
2f23080
to
c8d6120
Compare
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
3fb69cb
to
2b7cbcc
Compare
1c72574
to
7651acb
Compare
src/components/AdminSettings.vue
Outdated
@@ -86,11 +86,15 @@ | |||
<NcCheckboxRadioSwitch class="radio-check" | |||
:checked.sync="authorizationMethod.authorizationMethodSet" | |||
:value="authMethods.OIDC" | |||
:disabled="!isOIDCAppInstalledAndEnabled" | |||
:disabled="!isOIDCAppInstalledAndEnabled || !state.user_oidc_supported" |
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.
for state.user_oidc_enabled
we have a function isOIDCAppInstalledAndEnabled
, so we should be consequent and also have one for state.user_oidc_supported
and not using it directly
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.
Okay @individual-it I will do that
src/components/AdminSettings.vue
Outdated
<ErrorNote | ||
v-if="isOIDCAppInstalledAndEnabled && !state.user_oidc_supported" | ||
:error-title="messagesFmt.appNotSupported('user_oidc')" | ||
:error-message="messagesFmt.minimumVersionRequired(state.user_oidc_minimum_version)" |
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.
use getters for the states as we do everywhere else
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.
Okay I will follow that
415717b
to
2937663
Compare
2937663
to
1cd4a5c
Compare
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.
LGTM 👍
5f5fd38
to
d46c883
Compare
031f85f
to
a7132b0
Compare
a7132b0
to
fc55ba1
Compare
fc55ba1
to
80be515
Compare
Signed-off-by: nabim777 <[email protected]>
Signed-off-by: nabim777 <[email protected]>
Signed-off-by: nabim777 <[email protected]>
Signed-off-by: nabim777 <[email protected]>
Signed-off-by: nabim777 <[email protected]>
80be515
to
23e8a9e
Compare
PHP Code CoverageCoverage after merging show-error-if-not-support into master will be
Coverage Report
|
Description
In this PR, an error message is added which will display if the
user_OIDC
app is not supported with the integration OpenProject.Related Issue or Workpackage
Screenshots (if appropriate):
Types of changes
Checklist:
CHANGELOG.md
file