angular - Spring Oauth2 PKCE 授权
问题描述
我正在配置我的 spring oauth2 以使用 PKCE 授权。如果我在浏览器上对其进行测试,它可以按预期工作,但是我在执行 Angular 部分时遇到了一些问题,因为在我进行 GET 访问后会返回默认的 spring 安全登录表单:
http://localhost:8080/oauth/authorize?response_type=code&client_id=public&redirect_uri=http://public-client/&scope=read&code_challenge=4cc9b165-1230-4607-873b-3a78afcf60c5
我遵循了本教程:https ://sultanov.dev/blog/authorization-code-flow-with-pkce-in-spring-security-oauth/
解决方案
推荐阅读
- kubernetes - Minikube - 无效选项“-p”
- javascript - 如何在多维数组深处的值发生变化后重新渲染 HTML 元素?
- amazon-web-services - 无法直接从浏览器访问 sftp 服务器
- c# - 在 3D 单人游戏项目中,如何将对象放置在相机前方一定距离处?
- amazon-web-services - AWS Cloudformation:有没有办法捕获 Glue ARN 以用于阶跃函数?
- android - AOSP:在 /data 目录上写入文件
- matplotlib - 如何通过 matplotlib 在 spyder3 中绘图?
- java - 如何在java中将二进制有效负载(文件)转换为字节[]?
- ios - iOS 拖放。如何在拖动时用自定义视图替换单元格
- c++ - 编写 gtest 验证类是否为空