0
我正在尝试使用Spring Boot和OAuth2与JWT建立一个小型微服务样式项目。Spring Boot具有2步登录的OAuth2授权服务器
这里的流量,我想:
-> user clicks login and is taken to login page on Auth server
-> user logs in
-> user selects or creates a profile
-> login returns with the selected profile as part of the JWT
我知道如何来填充JWT额外的数据令牌,但在那里我失去的只是2步登录。
以前在单片Spring与传统的Spring Security我会做一些类似的过滤器检查是否存在包含当前配置文件的cookie,如果不存在,则重定向到“选择/创建配置文件”屏幕。
TIA