Nacos: Nacos开启Auth之后,使用OpenApi应该怎么传参,目前调用都是报403

Created on 20 Nov 2020  ·  1Comment  ·  Source: alibaba/nacos

kinquestion

Most helpful comment

有两种方法:

  1. 在header中加入username和password
  2. 先调用login接口拿到accessToken,然后在url参数中加入这个参数

推荐第二种

>All comments

有两种方法:

  1. 在header中加入username和password
  2. 先调用login接口拿到accessToken,然后在url参数中加入这个参数

推荐第二种

Was this page helpful?
0 / 5 - 0 ratings

Related issues

changhe626 picture changhe626  ·  4Comments

Yogurt-lei picture Yogurt-lei  ·  4Comments

837414750 picture 837414750  ·  4Comments

yanlinly picture yanlinly  ·  6Comments

xiaostart977 picture xiaostart977  ·  7Comments