Skip to content

oidc error with user_oidc #1366

@TheBest-Name

Description

@TheBest-Name

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

Steps to reproduce the behavior:
Enable oidc app
Enable user_oidc app
Set this in config.php:
'user_oidc' =>
array (
'auto_provision' => false,
'oidc_provider_bearer_validation' => true,
),

Expected behaviour

Tell us what should happen
A clear and concise description of what you expected to happen.
No error?

Actual behaviour

Tell us what happens instead, if possible also add a screenshot
When I enable user_oidc
I get these two errors repeatedly and it fills the logs with hundreds or thousands of errors:
[oidc] Error: Provided JWT could not be decoded.
PROPFIND /remote.php/dav/files/my_username/

[oidc] Error: Provided JWT is malformed OR provided JWT is missing an algorithm / using an unsupported algorithm OR provided JWT algorithm does not match provided key OR provided key ID in key/key-array is empty or invalid.
PROPFIND /remote.php/dav/files/my_username/

Server configuration

Web server: Apache

Database: MariaDB

PHP version: 8.4

Nextcloud version: 32.0.6

List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

Browser

Browser name: Edge

Browser version: 145

Operating system: Windows

Browser log
Insert your browser log here, this could for example include:

I tried to put the issue in this other repository, but it is supposed to be here,
H2CK/oidc#625
The original issue is there.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions