我正在開發一個web應用程序,它需要用戶登錄到他們的reddit帳戶,並根據https://github.com/reddit/reddit/wiki/OAuth2#retrieving-the-access-token我需要發送一個POST請求https://www.reddit.com/api/v1/access_token與一些參數。我目前從localhost
運行的服務器,我不斷收到錯誤:Reddit OAuth2用戶身份驗證
XMLHttpRequest cannot load https://www.reddit.com/api/v1/access_token. Request header field Access-Control-Allow-Origin is not allowed by Access-Control-Allow-Headers.