[PR #2001] [CLOSED] [WIP] Add CAS support #5932

Closed
opened 2026-02-05 10:20:44 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/2001
Author: @zyuiop
Created: 4/4/2020
Status: Closed

Base: masterHead: master


📝 Commits (1)

📊 Changes

9 files changed (+322 additions, -1 deletions)

View changed files

app/Auth/Access/CasService.php (+80 -0)
📝 app/Config/app.php (+3 -0)
📝 app/Config/auth.php (+4 -0)
app/Config/cas.php (+178 -0)
app/Http/Controllers/Auth/CasController.php (+44 -0)
📝 composer.json (+2 -1)
resources/views/auth/forms/login/cas.blade.php (+6 -0)
📝 resources/views/common/header.blade.php (+2 -0)
📝 routes/web.php (+3 -0)

📄 Description

This PR adds basic CAS support to authenticate users in BookStack.

This small hack is already in production for my own needs, but I felt like it would be a nice addition to upstream.

I've never worked with Laravel before, so all suggestions to improve this are welcome!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/2001 **Author:** [@zyuiop](https://github.com/zyuiop) **Created:** 4/4/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`12e25a6`](https://github.com/BookStackApp/BookStack/commit/12e25a63a645cbd6b951616237eb83ccee5b1557) Add CAS support ### 📊 Changes **9 files changed** (+322 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `app/Auth/Access/CasService.php` (+80 -0) 📝 `app/Config/app.php` (+3 -0) 📝 `app/Config/auth.php` (+4 -0) ➕ `app/Config/cas.php` (+178 -0) ➕ `app/Http/Controllers/Auth/CasController.php` (+44 -0) 📝 `composer.json` (+2 -1) ➕ `resources/views/auth/forms/login/cas.blade.php` (+6 -0) 📝 `resources/views/common/header.blade.php` (+2 -0) 📝 `routes/web.php` (+3 -0) </details> ### 📄 Description This PR adds basic CAS support to authenticate users in BookStack. This small hack is already in production for my own needs, but I felt like it would be a nice addition to upstream. I've never worked with Laravel before, so all suggestions to improve this are welcome! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:20:44 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5932