[PR #2083] [MERGED] Add user to shouldLink and shouldCreate oauth functions #1747

Closed
opened 2026-02-04 20:12:36 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/2083
Author: @Boy132
Created: 1/8/2026
Status: Merged
Merged: 1/8/2026
Merged by: @Boy132

Base: mainHead: boy132/better-oauth-should-checks


📝 Commits (1)

  • d238b61 add user to shouldLink and shouldCreate oauth functions

📊 Changes

3 files changed (+10 additions, -6 deletions)

View changed files

📝 app/Extensions/OAuth/OAuthSchemaInterface.php (+4 -2)
📝 app/Extensions/OAuth/Schemas/OAuthSchema.php (+4 -2)
📝 app/Http/Controllers/Auth/OAuthController.php (+2 -2)

📄 Description

This allows to make user specific checks, e.g. if a user has specific roles or permissions on the provider side.


🔄 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/pelican-dev/panel/pull/2083 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 1/8/2026 **Status:** ✅ Merged **Merged:** 1/8/2026 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `boy132/better-oauth-should-checks` --- ### 📝 Commits (1) - [`d238b61`](https://github.com/pelican-dev/panel/commit/d238b618c7d4ecb45001d384c6a79c1c298c1455) add user to shouldLink and shouldCreate oauth functions ### 📊 Changes **3 files changed** (+10 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `app/Extensions/OAuth/OAuthSchemaInterface.php` (+4 -2) 📝 `app/Extensions/OAuth/Schemas/OAuthSchema.php` (+4 -2) 📝 `app/Http/Controllers/Auth/OAuthController.php` (+2 -2) </details> ### 📄 Description This allows to make user specific checks, e.g. if a user has specific roles or permissions on the provider side. --- <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-04 20:12:36 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1747