Skip to content

Finalize removal of old OAuth capabilites#1885

Merged
williamjallen merged 1 commit intoKitware:masterfrom
josephsnyder:remove_oauth_requirements
Jan 12, 2024
Merged

Finalize removal of old OAuth capabilites#1885
williamjallen merged 1 commit intoKitware:masterfrom
josephsnyder:remove_oauth_requirements

Conversation

@josephsnyder
Copy link
Member

Remove now unnecessary interfaces and tests for code that is not longer in existance.
Add information to the documentation about the automatic registering. SAML should remain unchanged.

@josephsnyder josephsnyder force-pushed the remove_oauth_requirements branch from e9e013b to 8f89415 Compare December 14, 2023 19:58
Copy link
Collaborator

@williamjallen williamjallen left a comment

Choose a reason for hiding this comment

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

I believe there are a few more things you can remove:

  • app/cdash/app/Controller/Auth/Session.php (and the associated app/cdash/config/di.php)
  • $OAUTH2_PROVIDERS in app/cdash/config/config.php and associated files

@josephsnyder josephsnyder force-pushed the remove_oauth_requirements branch 2 times, most recently from 723a7bc to 7bac39c Compare December 15, 2023 16:55
Copy link
Collaborator

@williamjallen williamjallen left a comment

Choose a reason for hiding this comment

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

I believe you can now delete everything except system_exit() from app/cdash/include/CDash/System.php. I'll create a follow-up PR to finish the remaining system_exit()/System class stuff.

@josephsnyder josephsnyder force-pushed the remove_oauth_requirements branch from 7bac39c to 1643777 Compare January 11, 2024 19:19
Remove now unnecessary interfaces and tests for code that is not longer
in existance.
Add information to the documentation about the automatic registering.
SAML should remain unchanged.
@josephsnyder josephsnyder force-pushed the remove_oauth_requirements branch from 1643777 to f9005a5 Compare January 12, 2024 14:08
@josephsnyder josephsnyder marked this pull request as ready for review January 12, 2024 18:09
Copy link
Collaborator

@williamjallen williamjallen 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. I believe there are a few spots which related code can now be cleaned up, but I'll take care of those at a future point.

@williamjallen williamjallen added this pull request to the merge queue Jan 12, 2024
Merged via the queue into Kitware:master with commit bdc5374 Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments