腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
使用
Spring
Security
OAuth
主体
调用
Youtube
API
、
、
、
、
我正在
使用
Google
YouTube
API
Java客户端库。我已经编写了一个
Spring
Boot服务,您可以
使用
您的谷歌帐户
使用
Spring
Security
OAuth
登录。RequestMapping(value="/thing"){ ... } 其中Principal实例
浏览 9
提问于2020-10-11
得票数 0
2
回答
我可以从
Spring
Security
Oauth
中检索访问令牌吗?
、
、
、
上下文:我正在尝试
使用
google播放列表,现在就列出它们 'https://www.googleapis.com/
youtube
/v3/playlists?2.1.6设置了google登录,如下所示(它可以工作)
spring
.
security
.
oauth<
浏览 0
提问于2019-07-02
得票数 5
1
回答
从
Spring
OAuth
资源服务器验证RESTful 2.0访问令牌
、
、
、
、
我想保护我的
Spring
RESTful后端。单程(右?)是
使用
OAuth
2.0,如下所示: “令牌”提供者:例如,这可能/应该是google或facebook。
Spring
RESTful服务如下:@RequestMapping("/
api<
浏览 2
提问于2013-07-14
得票数 14
1
回答
如何实例化java.
security
.Principal?所有子类都已弃用
、
、
、
我有一个
Spring
API
服务,它接受Principal。ResponseEntity<ApiCustomResponse> create(Principal principal, UrlInfoData urlinfo) throws ApiException;
Spring
为
OAuth
2应用程序接口
调用
自动创建了
主体
。我想
使用
相同的服务为网页管理界面。 @Autowired..
浏览 48
提问于2019-04-17
得票数 0
回答已采纳
2
回答
Spring
Boot +
Security
OAuth
2.0客户端与自定义提供程序
、
、
、
我正在为
Spring
Boot +
Security
(版本5)应用程序中的自定义
OAuth
2提供程序创建一个
OAuth
2.0客户机。=XXXXXXXXXX
spring
.
security
.
oauth
2.=https://
api
.xxxxxxxxx.
浏览 10
提问于2019-05-09
得票数 5
回答已采纳
3
回答
试图检索
OAuth
2.0访问令牌响应时出错: 406不可接受
、
、
我正在尝试
使用
spirng-
OAuth
2-客户端将我的项目连接到第三方身份验证服务器(遵循此),在运行应用程序时立即
使用
ans,在授权步骤之后,我将为我的应用程序重定向,并显示一个包含此错误的页面:
spring
.
security
.
oauth
2.client.registration.merca
浏览 3
提问于2020-04-13
得票数 1
1
回答
如何
使用
Azure AD B2C保护
Spring
Boot REST
API
?
、
、
、
我
使用
的是
Spring
Boot2.2.0和azure-active-directory-b2c-
spring
-boot-starter 2.2.0。现在,我想要有一个以相同方式保护的REST
API
,因为实际的应用程序将是一个移动应用程序,它对我的
Spring
Boot后端执行REST
调用
。p=B2C_1_<my-custom-policy>因此,移动应用程序可以
使用
该
调用
。但是,我应该如何配置我的
S
浏览 13
提问于2019-10-30
得票数 2
回答已采纳
1
回答
必须为客户端注册指定提供者ID“azure”?
、
、
、
、
</dependencyManagement>azure.activedirectory.tenant-id=*******.azure.activedirectory.client-id=************.
spring
.
security
.
oauth
浏览 10
提问于2022-04-07
得票数 1
1
回答
spring
安全响应式-如何调试“无效凭证”错误?
、
、
、
、
我想在反应式
spring
boot应用程序中
使用
外部
OAuth
提供程序对用户进行身份验证。可以
使用
these properties将配置更改为未预配置的提供程序,例如:
spring
.
security
.
oauth
2.client.registration.<providerName>.client-id=<clientId>
spring
.
security
.
oauth
2.client.regi
浏览 24
提问于2020-07-10
得票数 0
回答已采纳
1
回答
如何在
spring
资源服务器中获得OidcUser而不是@Authentication
主体
中的Jwt?
、
、
我有一个带有org.springframework.boot:
spring
-boot-starter-
oauth
2-resource-server依赖和application.properties:
spring
.
security
.
oauth
2.resourceserver.jwt.jwk-set-uri=https://www.googleapis.com/
oauth
2/v3/certs的
spring
(2.5.0版本)应
浏览 2
提问于2021-06-01
得票数 1
2
回答
带有Gitlab的
Security
5
OAuth
2客户端失败
、
、
、
、
我试图在我的项目中将SpringSecurity5
OAuth
2/OIDC与GitLab集成起来,并遵循官方示例代码,添加我的Gitlab配置,如下所示。
security
: client: client-id: 0cef9527091bb2faec01610a0fb330e3a915672110cf3298ff3aadceaa8ab11f/code/{registrationId}'
浏览 5
提问于2018-03-17
得票数 2
1
回答
如何修改
spring
启动反应性
oauth
2授权请求的
主体
、
、
、
当我
使用
下面定义的WebClient时,将创建和发送授权请求。
spring
.
security
.
oauth
2.client.registration.d365.authorization-grant-type=client_credentials
spring
.
security
.
oauth
2.client.regis
浏览 21
提问于2022-02-05
得票数 0
回答已采纳
1
回答
确认
oauth
2审批流程后,原则在服务/
oauth
/authorize (approveOrDeny中的http post )中为空
、
我
使用
的是
spring
安全
主体
批准页面,当我授权一个请求时,该页面将作为"post“发送到”/
oauth
/
oauth
2“(来自AuthorizationEndpoint类的方法approveOrDeny
spring
oauth
页面,当我单击authorize (https://i.imgur.com/rJvCUo9.jpg) 有人知道为什么这个参数(
主体
主体
)是空的吗?这是
浏览 84
提问于2019-10-18
得票数 0
1
回答
如何
使用
OAuth
2User客户端从Azure Active (AAD)中嵌入更多属性
、
、
我
使用
Spring
starter
oauth
2 -client,
Spring
Azure -start-active-目录(
Spring
Azure-依赖项4.0.0)将针对Azure Active的
oauth
2身份验证添加到一个平凡的
Spring
应用程序中。我注意到,我从
Security
身份验证中获得的
OAuth
2User
主体
并不包含例如,AAD中所有标识可见的属性。是否有办法要求在响应中包括更多的信息(例如,姓
浏览 7
提问于2022-05-06
得票数 1
回答已采纳
2
回答
Spring
Security
oauth
2客户端- Twitter的问题
、
、
、
.client.provider.twitter.token-uri=https://
api
.twitter.com/
oauth
/token
spring
.
s
浏览 1
提问于2019-10-15
得票数 15
1
回答
在没有servlet
api
的webflux项目中
使用
带有
Spring
Security
OAuth
2和reactor netty的
OAuth
2
、
、
、
、
我想将webflux与reactor netty一起
使用
,但我的项目依赖于
spring
-
security
-
oauth
2,特别是
使用
类https://github.com/
spring
-projects/
spring
-
security
-
oauth
/blob/master/
spring
-
security
-
oauth
浏览 30
提问于2019-10-09
得票数 0
0
回答
无状态
Spring
JWT应用程序+ EnableOAuth2Client
、
、
、
我有一个
使用
Angular +
Spring
+ JHipster无状态身份验证(myApp)的
Spring
4.x生成的应用程序。我正在苦苦挣扎,因为myApp
使用
无状态的JWT令牌,而
Spring
@EnableOAuth2Client
使用
JSESSIONID,而我似乎无法将这两者结合在一起,这样我就可以将从battle.net
调用
返回的数据关联到myApp
主体
。--> myApp /callback/battlenet
浏览 9
提问于2018-07-21
得票数 1
回答已采纳
2
回答
如何
使用
Spring
-Boot和
Oauth
2获得正确的用户
主体
?
、
、
我正在练习
Spring
-Boot2.2+
Spring
Security
5+
Oauth
2。在许多例子之后,我在这里遇到了麻烦。().userInfoEndpoint()}@GetMapping在debug中,身份验证是sub,
主体
是DefaultOidcUser,名称属性是"sub",在谷歌的
oauth
响应中,
浏览 2
提问于2019-10-28
得票数 1
4
回答
找不到BearerTokenAccessDeniedHandler类定义
、
、
、
、
但是,当我尝试运行以下内容时,我正在尝试
使用
spring
2.1.1和SpringSec5作为
OAuth
2资源服务器进行演示项目 我的依赖关系看起来就像implementation('org
浏览 0
提问于2018-12-25
得票数 14
3
回答
如何在
Spring
Boot中
使用
Linkedin
OAuth
、
、
、
、
需要帮助才能在
Spring
boot 2.1.6.RELEASE项目中
使用
Spring
OAuth
2。Java版本是11
spring
.
security
.
oauth
2.client.registration.linkedin
浏览 32
提问于2019-11-08
得票数 5
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
在SpringBoot中优雅的使用Spring Security OAuth 2
Spring Security OAuth2 RCE漏洞分析
Spring Authorization Server计划2022年11月发布1.0版本
Spring Security 5.1.0.M2 发布,Spring 安全框架
浅谈微服务安全架构设计
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券