mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 03:55:58 +03:00
[GH-ISSUE #634] OPEN_ID Login impossible #497
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#497
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 @piepmax on GitHub (Nov 10, 2024).
Original GitHub issue: https://github.com/ciur/papermerge/issues/634
Originally assigned to: @ciur on GitHub.
Hi,
open-id login is impossible. The application doesn't work as soon as i enter the oidc environment variables.
The following error occurs:
Field required [type=missing, input_value={'papermerge__auth__oidc_...eth.name/oidc/callback'}, input_type=dict]
2024-11-10T08:17:43.121684274Z For further information visit https://errors.pydantic.dev/2.7/v/missing
Info:
@ciur commented on GitHub (Nov 10, 2024):
What OpenID provider do you use ?
What's your setup ?
@piepmax commented on GitHub (Nov 10, 2024):
I've tried it with azure ad and afterwards with keycloak.

Both didn't work :/
This is my configuration:
@ciur commented on GitHub (Nov 11, 2024):
Is there an error on auth server side (keycloak) ?
Could you pls paste here (last, which maybe contain error, warning, or some evidence that it is being accessed by client) logs from keycloak ?
What is the configuration of the client on keycloak side ?
What are the errors on Papermerge side ?
@piepmax commented on GitHub (Nov 11, 2024):
No, there are no errors on keycloak.
This is the docker output:
192.168.178.50 is the papermerge host
192.1678.178.229 is the client
@ciur commented on GitHub (Nov 11, 2024):
In first message you pasted following error:
It means you are missing "papermerge__auth__oidc_..." variable. This translates to missing
PAPERMERGE__AUTH__OIDC_...environment variable.Can you figure out from logs complete variable name and provide it here?
Could you please paste here full trace of
of above error ?
@piepmax commented on GitHub (Nov 11, 2024):
@ciur those are the variables:

@ciur commented on GitHub (Nov 11, 2024):
Still, my question was about the missing information: "...":
Could you provide full error (without "...")?
@piepmax commented on GitHub (Nov 11, 2024):
I‘d like to but the Logs are shortened by default :/
@piepmax commented on GitHub (Nov 26, 2024):
@ciur could the problem be caused by the https?
