KEYCLOAK-18974 BitbucketIdentityProvider IdentityBrokerException message
github => bitbucket
This commit is contained in:
parent
5ff6ff57a8
commit
6431afe360
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ public class BitbucketIdentityProvider extends AbstractOAuth2IdentityProvider im
|
||||||
return extractUserInfo(accessToken, profile);
|
return extractUserInfo(accessToken, profile);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (e instanceof IdentityBrokerException) throw (IdentityBrokerException)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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue