Allow OPTIONS HTTP Method for oauth/token request

前端 未结 5 1382
不思量自难忘°
不思量自难忘° 2020-12-04 19:17

I\'m trying to enable oauth2 token fetching for my angular application. My configuration is working fine (authentication is working correctly for all requests, token fetchin

5条回答
  •  无人及你
    2020-12-04 19:50

    I was using the solution proposed by idursun. The OPTION call started to work, but still had problems with Access-Control-Allow-Origin.

    This filter implementation definitively worked for me:

    Standalone Spring OAuth2 JWT Authorization Server + CORS

提交回复
热议问题