Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Paperless-ngx
  3. paperless, oidc & django admin (spoiler: there is no password involved)

paperless, oidc & django admin (spoiler: there is no password involved)

Scheduled Pinned Locked Moved Paperless-ngx
1 Posts 1 Posters 731 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • luckowL Online
    luckowL Online
    luckow
    translator
    wrote on last edited by girish
    #1

    My typical workflow for default admin accounts is:

    • Open the app in an anonymous browser. use the default admin credentials
    • Open the app via login with Cloudron in a different browser or tab.
    • Set the new user to the admin role (in the case of the paperless superuser)
    • Delete the default admin with the new user account.
    • Add normal user without admin permissions.

    All good in paperless until the moment you click on open Django Admin

    In short: no chance to login.
    not-authorized.png

    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.

    The first is to set a password.

    django-users.png
    After setting a password manually, it looks like this:
    django-user_pass.png

    The second is to check Staff status
    staff-status.png

    It is now possible to log in to Django Admin.
    Now you can safely delete the default admin account.

    Pronouns: he/him | Primary language: German

    1 Reply Last reply
    2

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Bookmarks
    • Search