Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-9993

MusicBrainz server should allow CORS requests to /oauth/token

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2019-04-26
    • Component/s: None
    • Labels:
      None

      Description

      I'm currently attempting to reimplement MagicISRC to use /ws/2, due to MBS-9619 (tracking issue)

      I would like to avoid having the user provide their login & password on my page (even if I'm not storing it), so I'm attempting to implement the OAuth login flow in client-side javascript. The current blocker to this is that I cannot retrieve the token following the redirect, because the /oauth/token endpoint does not send an Access-Control-Allow-Origin header which would allow this.

        Attachments

          Activity

            People

            Assignee:
            bitmap Michael Wiencek
            Reporter:
            kepstin Calvin Walton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2019-04-26