• bountygiver [any]@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    20 hours ago

    unauthorized (403) is still valid for unlogged in as you can permit anonymous access to certain resources.

    unauthenticated (401) is for when you should be redirecting the user to the login page

    • wheezy@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      19 hours ago

      Thanks. I think I might have been misreading these in my head. Dyslexia is a dickhead. The number codes really helped.