[GH-ISSUE #156] [Feature] OIDC authentication #121

Closed
opened 2026-02-25 21:31:15 +03:00 by kerem · 4 comments
Owner

Originally created by @francescocarzaniga on GitHub (Oct 10, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/156

Originally assigned to: @ciur on GitHub.

I saw there is a plan to implement LDAP authentication, and the current PR does a great job at abstracting the backend including immutable users. Using it and something like mozilla-django-oidc it should be relatively straightforward to implement OIDC as well. Group management should also work exactly the same as LDAP.

Originally created by @francescocarzaniga on GitHub (Oct 10, 2020). Original GitHub issue: https://github.com/ciur/papermerge/issues/156 Originally assigned to: @ciur on GitHub. I saw there is a plan to implement LDAP authentication, and the current PR does a great job at abstracting the backend including immutable users. Using it and something like [mozilla-django-oidc](https://github.com/mozilla/mozilla-django-oidc.git) it should be relatively straightforward to implement OIDC as well. Group management should also work exactly the same as LDAP.
kerem 2026-02-25 21:31:15 +03:00
Author
Owner

@schiederme commented on GitHub (Oct 10, 2020):

Would it be possible to sponsor this?

<!-- gh-comment-id:706601762 --> @schiederme commented on GitHub (Oct 10, 2020): Would it be possible to sponsor this?
Author
Owner

@ciur commented on GitHub (Oct 11, 2020):

In general, I would go as far as to say that almost any external authentication system can be added - but as extra plugin. So just to make it clear, that we speak here about - a plugin (a.k.a app) for Papermerge to support OIDC authentication. Plugins/apps can be easily removed/add so that main application stays light.

Would it be possible to sponsor this?

@schiederme, give me 2 weeks to evaluate the impact/complexity of solution and I will come back with an answer.

<!-- gh-comment-id:706679403 --> @ciur commented on GitHub (Oct 11, 2020): In general, I would go as far as to say that almost any external authentication system can be added - but as extra plugin. So just to make it clear, that we speak here about - a plugin (a.k.a app) for Papermerge to support OIDC authentication. Plugins/apps can be easily removed/add so that main application stays light. > Would it be possible to sponsor this? @schiederme, give me 2 weeks to evaluate the impact/complexity of solution and I will come back with an answer.
Author
Owner

@francescocarzaniga commented on GitHub (Oct 11, 2020):

@ciur If I can make a suggestion, python-social-auth and its pipelines especially would be the best solution.

<!-- gh-comment-id:706687069 --> @francescocarzaniga commented on GitHub (Oct 11, 2020): @ciur If I can make a suggestion, [python-social-auth](https://python-social-auth.readthedocs.io/en/latest/) and its pipelines especially would be the best solution.
Author
Owner

@ciur commented on GitHub (May 14, 2024):

Feature landed in 3.2: https://docs.papermerge.io/3.2/sso/oidc/overview/

<!-- gh-comment-id:2109938577 --> @ciur commented on GitHub (May 14, 2024): Feature landed in 3.2: https://docs.papermerge.io/3.2/sso/oidc/overview/
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#121
No description provided.