添加依赖
<dependency>
    <groupId>org.wso2.carbon.extension.identity.oauth2.grantType.organizationswitch</groupId>
    <artifactId>org.wso2.carbon.identity.oauth2.grant.organizationswitch</artifactId>
    <version>1.2.2</version>
</dependency>
implementation 'org.wso2.carbon.extension.identity.oauth2.grantType.organizationswitch:org.wso2.carbon.identity.oauth2.grant.organizationswitch:1.2.2'
org.wso2.carbon.extension.identity.oauth2.grantType.organizationswitch:org.wso2.carbon.identity.oauth2.grant.organizationswitch:1.2.2
<dependency org="org.wso2.carbon.extension.identity.oauth2.grantType.organizationswitch" name="org.wso2.carbon.identity.oauth2.grant.organizationswitch" rev="1.2.2" />
libraryDependencies += "org.wso2.carbon.extension.identity.oauth2.grantType.organizationswitch" % "org.wso2.carbon.identity.oauth2.grant.organizationswitch" % "1.2.2"
@Grab(group='org.wso2.carbon.extension.identity.oauth2.grantType.organizationswitch', module='org.wso2.carbon.identity.oauth2.grant.organizationswitch', version='1.2.2')
[org.wso2.carbon.extension.identity.oauth2.grantType.organizationswitch/org.wso2.carbon.identity.oauth2.grant.organizationswitch "1.2.2"]
'org.wso2.carbon.extension.identity.oauth2.grantType.organizationswitch:org.wso2.carbon.identity.oauth2.grant.organizationswitch:jar:1.2.2'