を呼び出すときにトークンを API に渡したいと思いますhttp.post('http://localhost/api/spaceships')
。ただし、除外したいhttp.get('http://localhost/api/spaceships')
。私はasp.net-coreを使用し[AllowAnonymous]
ており、[Authorize]
属性が存在します。ただし、投稿中に authorize 属性を通過させるには、に追加.../api/spaceships
する必要があります。protectedResourceMap
を除外するにはどうすればよいhttp.get
ですか? msal-angular v2 を使用しています。アンギュラー v11.