• neidu3@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 months ago

    Not that strange. Different users may belong to different groups which may have different authentication backends. The associated authentication method is brought up once a username has been provided.

    • atomicbocks@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      You can do that as part of an OAuth workflow. You don’t need to have them on separate pages for that to happen.

    • lime!@feddit.nu
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      if your choice of api route directly affects your auth flow something is very wrong.