【问题标题】:Spring-boot oAuth2 with bitbucket带有bitbucket的Spring-boot oAuth2
【发布时间】:2021-07-22 18:23:14
【问题描述】:

我需要添加 Spring boot oAuth2 bitbucket 身份验证。我没有得到任何关于 bitbucket 的 spring boot application.yml 配置的教程或博客。

【问题讨论】:

    标签: spring-boot spring-security-oauth2


    【解决方案1】:

    第 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 文档

    https://developer.atlassian.com/cloud/bitbucket/oauth-2/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-10-02
      • 1970-01-01
      • 2021-05-25
      • 2019-12-26
      • 2021-10-14
      • 2017-12-21
      相关资源
      最近更新 更多