-
Notifications
You must be signed in to change notification settings - Fork 4
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
Replace identity-oauth use with OIDC #48 #53
Conversation
ChiuchiuSorin
commented
Nov 15, 2024
- created drawer header extension points to add the option to log in with XWiki
- modified configuration
- created rest endpoint to access the log in with the oidc skipped option
- created script service for Azure AD
- removed old code
* modified parent platform version to 14.10-1 * uploaded the documents from an instance of XWiki 14.10 * updated README.md * checked for keywords and regex * tested functionalities using Identity OAuth (pro)
# Conflicts: # pom.xml
* Created a new configuration for OIDC properties * Set default values specific to Azure for the new configuration * Created a java configuration for the old configuration for the old Identity OAuth classes * Created a listener that copies the old configuration to the newly OIDC configuration
# Conflicts: # pom.xml
* created a new class to include additioal properties to the OIDC client class and created a new configuration soruce for it * created AzureADClientConfigurationSheet to use as a custom display inside the administration * modified the listener to intercept events update and delete to be able to update the OIDC endpoints in case the tenent id is modified
# Conflicts: # api/src/main/java/com/xwiki/azureoauth/configuration/AzureConfiguration.java
* created drawer header extension points to add the option to log in with XWiki * modified configuration * removed old code * created rest enpoint to access the log in with the oidc skipped option * created script service for Azure AD
* created a new configuration class for OIDC * refactored the listener * refactored the configuration sources+
# Conflicts: # api/src/main/java/com/xwiki/azureoauth/internal/AzureADUpgradingListener.java # api/src/main/java/com/xwiki/azureoauth/internal/configuration/DefaultAzureConfiguration.java # ui/src/main/resources/AzureAD/AzureADClientConfiguration.xml # ui/src/main/resources/AzureAD/AzureADConfigurationClass.xml
# Conflicts: # api/src/main/resources/META-INF/components.txt # ui/src/main/resources/AzureAD/AzureADConfig.xml
* replaced DocumentUpdatedEvent with XObjectUpdatedEvent * removed TODO
* renamed AzureAD to Entra ID * refactored the initializer
* added unit tests * code refactoring
# Conflicts: # api/src/main/resources/META-INF/components.txt
* fix merge issues
* fix merge issues
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.
Some comments
The other were discussed in a meeting
# Conflicts: # admin-ui/src/main/resources/AzureADAdmin/Translations.xml # api/src/main/resources/META-INF/components.txt # ui/src/main/resources/AzureAD/AzureADConfig.xml # ui/src/main/resources/EntraID/Code/EntraOIDCClientConfigurationSheet.xml
* removed AzureAdmin module * moved translations to the UI module * moved WebHome from AzureAD to EntraID * codestyle refactoring * modified Azure names to Entra
* removed duplicate dependencies * code refactoring
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.
I have a remark about the UI of the drawer buttons. I see that the already existing XWiki buttons use italic, while the new buttons do not look the same
* added license check for drawer buttons * added translation for WebHome
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.
Looks good overall. Just waiting for Stefana's input on the naming and also for changes / answer related to this comment #53 (review)
Thanks!
# Conflicts: # admin-ui/src/main/resources/AzureADAdmin/Translations.xml # ui/src/main/resources/EntraID/Code/EntraOIDCClientConfigurationSheet.xml
* fixed merge
* codestyle
* modified extension name and description
* modified extension name and description