<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[paperless, oidc  & django admin (spoiler: there is no password involved)]]></title><description><![CDATA[<p dir="auto">My typical workflow for default admin accounts is:</p>
<ul>
<li>Open the app in an anonymous browser. use the default admin credentials</li>
<li>Open the app via <code>login with Cloudron</code> in a different browser or tab.</li>
<li>Set the new user to the admin role (in the case of the paperless superuser)</li>
<li>Delete the default admin with the new user account.</li>
<li>Add normal user without admin permissions.</li>
</ul>
<p dir="auto">All good in paperless until the moment you click on <img src="/assets/uploads/files/1714062974108-b68c500a-bda0-4985-9eff-3d3432e1551e-image.png" alt="open Django Admin" class="img-markdown  img-fluid" /></p>
<p dir="auto">In short: no chance to login.<br />
<img src="/assets/uploads/files/1714065324033-not-authorized.png" alt="not-authorized.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">After investigating the problem, the user account requires two additional pieces of information that are not automatically created when you add a user via OIDC.</p>
<p dir="auto">The first is to set a password.</p>
<p dir="auto"><img src="/assets/uploads/files/1714065299274-django-users.png" alt="django-users.png" class="img-markdown  img-fluid" /><br />
After setting a password manually, it looks like this:<br />
<img src="/assets/uploads/files/1714065345078-django-user_pass-resized.png" alt="django-user_pass.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">The second is to check <code>Staff status</code><br />
<img src="/assets/uploads/files/1714065356372-staff-status.png" alt="staff-status.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">It is now possible to log in to Django Admin.<br />
Now you can safely delete the default admin account.</p>
]]></description><link>https://forum.cloudron.io/topic/11606/paperless-oidc-django-admin-spoiler-there-is-no-password-involved</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Nov 2026 02:32:02 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/11606.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Apr 2024 17:20:52 GMT</pubDate><ttl>60</ttl></channel></rss>