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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. OIDC picture url returns 404

OIDC picture url returns 404

Scheduled Pinned Locked Moved Solved Support
oidc
3 Posts 2 Posters 57 Views 2 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.
  • klawitterbK Offline
    klawitterbK Offline
    klawitterb
    wrote last edited by joseph
    #1

    Hey Cloudron Team,

    I'm building a custom app which is using a OIDC client from cloudron. I've noticed that the picture url in the OIDC profile is returning a 404 with this message

    {
      "status": "Not Found",
      "message": "no avatar"
    }
    

    I've got a profile picture set in my account, so I would expect it to be returned. I think this worked before but I haven't looked it this for a while so not sure if this is a regression from v9.

    Any ideas? Thanks!

    1 Reply Last reply
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote last edited by nebulon
      #2

      Indeed that is a regression. The profile picture URL returned by the oidc server is wrong with the .png extension πŸ˜•
      The correct one would be https://<dashboardDomain>/api/v1/profile/avatar/<userId>

      Fixed with https://git.cloudron.io/platform/box/-/commit/8d85b521c8ad95e634cd585d7520adc358ec5390

      1 Reply Last reply
      3
      • klawitterbK Offline
        klawitterbK Offline
        klawitterb
        wrote last edited by klawitterb
        #3

        Great, good to hear and looking forward to the fix. Anyway it’s not very urgent. Thanks and happy Xmas πŸŽ…

        1 Reply Last reply
        1
        • nebulonN nebulon has marked this topic as solved
        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