Skip to content
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

请教下大佬 #2

Open
DaveRoey opened this issue Jan 8, 2020 · 1 comment
Open

请教下大佬 #2

DaveRoey opened this issue Jan 8, 2020 · 1 comment

Comments

@DaveRoey
Copy link

DaveRoey commented Jan 8, 2020

您好,我想请教下,既然有了/auth/token来授权,还要/login登录有什么用。/login后返回的不是token,怎么调用接口呢。

@copoile
Copy link
Owner

copoile commented Jan 8, 2020

你好呀,我不是大佬,我也是个臭DD,哈哈。
你说的是security那里配置的login吗?
那里的login其实配的是认证中心的授权页面,授权码模式和简化模式第一步会跳转到授权页面,授权成功后调回调地址,回调地址会携带code或access_token。对授权码模式和简化模式不了解的话建议去查资料看下。后面有时间我加些料到这里。希望对你有所帮助~

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

2 participants