MultiPortal Community Return to multiportal.io
Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Support Portal
Collapse
  1. Home
  2. API & Automation
  3. Support application/x-www-form-urlencoded for the OAuth 2.0 token endpoint

Support application/x-www-form-urlencoded for the OAuth 2.0 token endpoint

Scheduled Pinned Locked Moved API & Automation
2 Posts 2 Posters 47 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.
  • C Offline
    C Offline
    cdicke
    Private Beta Migrator
    wrote last edited by
    #1

    Environment

    • MultiPortal Version: 1.2.1
    • Proxmox VE Version: 9.2.6
    • Deployment Type: HA Cluster

    Description
    We are integrating MultiPortal with an existing ITSM system using the OAuth 2.0 client credentials flow.

    The ITSM system sends token requests with the content type:

    application/x-www-form-urlencoded
    

    However, the MultiPortal endpoint /access/get-token currently only accepts:

    multipart/form-data
    

    This content-type mismatch prevents the ITSM system from completing the OAuth authentication flow.

    Expected Behavior
    The endpoint /access/get-token should accept valid OAuth 2.0 token requests encoded as application/x-www-form-urlencoded, including client credentials sent in the request body.

    Support for the existing multipart/form-data format should remain available for backward compatibility.

    Actual Behavior
    The endpoint /access/get-token only accepts requests encoded as multipart/form-data.

    Requests sent with application/x-www-form-urlencoded are rejected, preventing the ITSM system from completing the OAuth 2.0 client credentials flow.

    1 Reply Last reply
    0
    • StellS Offline
      StellS Offline
      Stell
      wrote last edited by
      #2

      Interesting suggestion, are you able to DM me the name of the ITSM solution?

      ~ Head of Product & Architecture

      1 Reply Last reply
      1

      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.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Support Portal