mirror of
https://github.com/pelican-dev/plugins.git
synced 2026-05-09 08:26:01 +02:00
[GH-ISSUE #45] Generic OIDC Provider Plugin can brick Pelican if no color is specified #34
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/plugins#34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dougmaitelli on GitHub (Dec 23, 2025).
Original GitHub issue: https://github.com/pelican-dev/plugins/issues/45
I installed and configured the Generic OIDC provider. One of the settings is the Provider Color, which is not mandatory and I left blank.
Now my installation is bricked and I can't open the panel at all:
[2025-12-23 07:18:38] production.ERROR: Filament\Support\Colors\Color::hex(): Argument #1 ($color) must be of type string, null given, called in /var/www/pelican/app/Filament/Pages/Auth/Login.php on line 82 {"exception":"[object] (TypeError(code: 0): Filament\Support\Colors\Color::hex(): Argument #1 ($color) must be of type string, null given, called in /var/www/pelican/app/Filament/Pages/Auth/Login.php on line 82 at /var/www/pelican/vendor/filament/support/src/Colors/Color.php:501)
[stacktrace]
@coderabbitai[bot] commented on GitHub (Dec 23, 2025):
📝 CodeRabbit Plan Mode
Generate an implementation plan and prompts that you can use with your favorite coding agent.
Examples
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord or schedule a call!
@dougmaitelli commented on GitHub (Dec 23, 2025):
FYI @Boy132
@dougmaitelli commented on GitHub (Dec 23, 2025):
I managed to fix my issue by changing the code to have a fallback color, then I fixed the settings in the settings. However this prob need to be addressed in the plugin to avoid other people having the same bug
@Boy132 commented on GitHub (Dec 23, 2025):
That's actually a bug on the panel, it should allow "no color" for oauth providers.
https://github.com/pelican-dev/panel/pull/2044 will fix that.