From 6431afe3609c3cce933da32e5da9c35953efec59 Mon Sep 17 00:00:00 2001 From: wuweixin Date: Sat, 24 Jul 2021 22:22:51 +0800 Subject: [PATCH] KEYCLOAK-18974 BitbucketIdentityProvider IdentityBrokerException message github => bitbucket --- .../keycloak/social/bitbucket/BitbucketIdentityProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/src/main/java/org/keycloak/social/bitbucket/BitbucketIdentityProvider.java b/services/src/main/java/org/keycloak/social/bitbucket/BitbucketIdentityProvider.java index b2a62ff52e..91ee36d789 100755 --- a/services/src/main/java/org/keycloak/social/bitbucket/BitbucketIdentityProvider.java +++ b/services/src/main/java/org/keycloak/social/bitbucket/BitbucketIdentityProvider.java @@ -191,7 +191,7 @@ public class BitbucketIdentityProvider extends AbstractOAuth2IdentityProvider im return extractUserInfo(accessToken, profile); } catch (Exception e) { if (e instanceof IdentityBrokerException) throw (IdentityBrokerException)e; - throw new IdentityBrokerException("Could not obtain user profile from github.", e); + throw new IdentityBrokerException("Could not obtain user profile from bitbucket.", e); } }