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

Spring Security 5 OAuth2 #1339

Merged
merged 41 commits into from
Aug 18, 2022
Merged

Spring Security 5 OAuth2 #1339

merged 41 commits into from
Aug 18, 2022

Conversation

ericenns
Copy link
Member

@ericenns ericenns commented Jul 12, 2022

Description of changes

Replaced deprecated OAuth implementation using spring-security-oauth2 with spring security 5 OAuth2 resource and authorization server.

Related issue

Link to the GitHub issue this pull request addresses using the #issuenum format. If it completes an issue, use Fixes #issuenum to automatically close the issue.

Checklist

Things for the developer to confirm they've done before the PR should be accepted:

  • CHANGELOG.md (and UPGRADING.md if necessary) updated with information for new change.
  • Tests added (or description of how to test) for any new features.
  • User documentation updated for UI or technical changes.

… of just encoding it directly in the variable.
@JeffreyThiessen
Copy link
Member

I manually tested happy paths and error paths with the uploader, and then ran the integration suite on them and everything is working as intended.

Copy link
Member

@JeffreyThiessen JeffreyThiessen left a comment

Choose a reason for hiding this comment

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

Looks good

@ericenns ericenns requested a review from apetkau July 22, 2022 14:10
@ericenns ericenns marked this pull request as ready for review July 22, 2022 19:13
@ericenns
Copy link
Member Author

Just want to comment here that @deepsidhu85 confirmed that this update works with irida-galaxy-importer

Copy link
Contributor

@deepsidhu85 deepsidhu85 left a comment

Choose a reason for hiding this comment

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

This is looking good. Just a few things below. Just have a few things left to manually test as well

@deepsidhu85
Copy link
Contributor

Update the documentation for the Remote IRIDA Connection OAuth approval modal

Copy link
Member

@apetkau apetkau left a comment

Choose a reason for hiding this comment

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

Thanks so much for this Eric. It looks great. I did have a few comments/questions for you.

I also have yet to run this and test it out that way, so I may have additional feedback later.

build.gradle.kts Outdated Show resolved Hide resolved
doc/administrator/web/index.md Outdated Show resolved Hide resolved
doc/administrator/web/index.md Outdated Show resolved Hide resolved
doc/administrator/web/index.md Outdated Show resolved Hide resolved
doc/administrator/web/index.md Outdated Show resolved Hide resolved
src/main/resources/application.properties Outdated Show resolved Hide resolved
build.gradle.kts Outdated Show resolved Hide resolved
doc/administrator/web/index.md Outdated Show resolved Hide resolved
Copy link
Member

@apetkau apetkau left a comment

Choose a reason for hiding this comment

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

This all looks great to me. I tested out the uploader and syncing between IRIDA instances and it all works.

Thanks so much for addressing my previous comments.

Copy link
Contributor

@deepsidhu85 deepsidhu85 left a comment

Choose a reason for hiding this comment

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

Tested it out and working as expected. Thanks!

@deepsidhu85 deepsidhu85 merged commit 04df790 into development Aug 18, 2022
@ericenns ericenns deleted the spring-security-5-oauth2 branch April 14, 2023 16:39
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.

4 participants