【发布时间】:2021-07-22 18:23:14
【问题描述】:
我需要添加 Spring boot oAuth2 bitbucket 身份验证。我没有得到任何关于 bitbucket 的 spring boot application.yml 配置的教程或博客。
【问题讨论】:
标签: spring-boot spring-security-oauth2
我需要添加 Spring boot oAuth2 bitbucket 身份验证。我没有得到任何关于 bitbucket 的 spring boot application.yml 配置的教程或博客。
【问题讨论】:
标签: spring-boot spring-security-oauth2
第 1 步:您需要在 Bitbucket 上创建 OAuth 消费者
遗憾的是,它似乎只能在高级帐户中使用
https://vssue.js.org/guide/bitbucket.html#create-a-new-oauth-consumer
第 2 步:我相信所有 OAuth 第三方的工作方式都相同。
您可以查找“使用 Github Springboot 登录示例”并替换信息
这是我使用 Github 登录的 .yaml 文件。
因为 Bitbucket Oauth 不是免费的,所以我无法尝试
[更新] Bitbucket OAuth 文档
【讨论】: