KEYCLOAK-18974 BitbucketIdentityProvider IdentityBrokerException message

github => bitbucket
This commit is contained in:
wuweixin 2021-07-24 22:22:51 +08:00 committed by Marek Posolda
parent 5ff6ff57a8
commit 6431afe360

View file

@ -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);
}
}