【发布时间】:2018-10-02 15:56:11
【问题描述】:
当我使用用户名和密码运行首次登录 API 时,将获取客户端 ID 和密码。使用o/token api获取访问令牌,o/token参数如下:
grant_type=password username={{emailid}} password={{password}} client_id={{client id}} client_secret={{client secret}}
是否可以不使用o/token/ api中的用户名和密码来获取访问令牌?使用唯一的 client_id 和 client secret 可以获得访问令牌和刷新令牌???
【问题讨论】:
标签: django python-3.x oauth-2.0