如何使用Spring Boot中的Link实现自动身份验证?
我正在尝试使用Spring Boot中的一些链接来实现登录。 例如,URL将为http:// localhost:8080/superlogin?token = 323XS232SDFDDGW3
每当用户在浏览器中打开此URL时,都需要解密令牌并获取用户ID,然后将自动login作为该用户。此后,这将需要正常登录。 我制作了正常的登录页面,它可以正常工作,但是我不确定此链接登录。我确定我需要在安全配置中做一些事情。 谁能建议我?
I am trying to implement login using some link in spring boot.
for example, the url will be http://localhost:8080/superlogin?token=323xs232sdfddgw3
whenever user open this url in browser, will need to decrypt the token and get user id, then make auto-login as that user. This will need to be same with normal login after that.
I made normal login page and it works, but I am not sure for this link login. I am sure I need to do something in security configuration.
Can anyone advise me kindly?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论