-
Notifications
You must be signed in to change notification settings - Fork 6
Automatically log out of Casdoor when logging out of WordPress #28
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
Conversation
…oor-login [WIP] Update Casdoor login handling for redirect preservation and security
Added redirect preservation for CASdoor login.
Added 'auto_sso' and 'active' options to avoid undefined key warnings and maintain consistent behavior. Updated return types and added new functions for URL handling and redirect resolution.
Good comments by Copilot Co-authored-by: Copilot <[email protected]>
Better readability Co-authored-by: Copilot <[email protected]>
More comments Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Updated the callback URLs section to include an additional URI.
Refactor callback handling for OAuth login process, improving security and user flow.
Updated version number and added logout functionality with token handling.
Updated version number and added logout functionality with token handling.
|
|
|
@7encoder need to pass CI checks:
|
Refactor Casdoor class to improve version handling and method structure.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #28 +/- ##
=========================================
Coverage ? 21.48%
Complexity ? 47
=========================================
Files ? 4
Lines ? 242
Branches ? 0
=========================================
Hits ? 52
Misses ? 190
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Define CASDOOR_PLUGIN_VERSION for test consistency.
Add newline at the end of the file for consistency.
Updated the version assertion to use the constant CASDOOR_PLUGIN_VERSION.
|
It was complaining about the plugin version, it should be fixed now. |
|
@7encoder it's too big PR. I suggest you only committing code that are related to the topic: auto logout |
|
One topic, one PR |

Fix: #22