Oauth2授权模式访问之password访问

Oauth2授权模式访问之密码(password)访问

1.直接在url后面拼接请求参数

如: http://localhost:8080/oauth/token?grant_type=password&client_id=apple&client_secret=secret&username=admin&password=111111

这里写图片描述

2.使用form表单:

这里写图片描述

猜你喜欢

转载自blog.csdn.net/u013887008/article/details/80574771