Skip to content

Add CAS SSO integration and improve logout handling#3072

Open
hhhhsc701 wants to merge 9 commits into
developfrom
dev/cas
Open

Add CAS SSO integration and improve logout handling#3072
hhhhsc701 wants to merge 9 commits into
developfrom
dev/cas

Conversation

@hhhhsc701
Copy link
Copy Markdown
Contributor

No description provided.

@hhhhsc701 hhhhsc701 requested review from Dallas98 and WMC001 as code owners May 28, 2026 12:44
Comment thread frontend/server.js
Comment on lines +114 to +117
cookie.serialize(COOKIE_NAMES.OAUTH_PENDING, "", {
...expired,
httpOnly: true,
}),
if not logout_request:
return {"cas_user_id": "", "session_index": ""}
try:
root = ET.fromstring(logout_request)
Comment thread backend/apps/cas_app.py
@router.get("/login")
async def login(redirect: str = Query("/", description="URL to return to after login")):
try:
return RedirectResponse(url=build_login_url(redirect), status_code=HTTPStatus.FOUND)
Comment thread backend/apps/cas_app.py
Comment on lines +133 to +136
content=f"""<!doctype html>
<html><body><script>
window.parent && window.parent.postMessage({{ type: "cas-renew-{status}", reason: "{safe_reason}" }}, window.location.origin);
</script></body></html>""",
hhhhsc added 3 commits May 29, 2026 10:11
# Conflicts:
#	backend/apps/user_management_app.py
#	backend/services/user_management_service.py
#	docker/.env.example
#	frontend/app/[locale]/users/components/UserProfileComp.tsx
#	frontend/components/auth/avatarDropdown.tsx
#	frontend/components/navigation/SideNavigation.tsx
#	frontend/services/authService.ts
# Conflicts:
#	frontend/server.js
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.

2 participants