Skip to content

无法根据用户登录API #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
chenxizhang opened this issue Feb 1, 2021 · 3 comments
Open

无法根据用户登录API #9

chenxizhang opened this issue Feb 1, 2021 · 3 comments

Comments

@chenxizhang
Copy link

目前的身份验证方式,client_credential这种方式适合于一个后台应用程序这种类型。

另外一种方式,是用 code grant的方式,但无法成功实现。

@GuoJikun
Copy link

GuoJikun commented Feb 6, 2021

  1. 用户登陆需要使用接口2.1和2.2;
  2. 接口2.1在webview中使用可以获取code
  3. 在接口2.2使用接口2.1中获取到的code来获取token

@cnblogs-dudu
Copy link
Contributor

我正在写一个 ASP.NET Core 示例程序

@cnblogs-dudu
Copy link
Contributor

园子里的参考博文:Identity Server 4 - Hybrid Flow - MVC客户端身份验证

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants