This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Configuring Consent Revocation Apps
WSO2 Open Banking solution includes consent revocation apps that support bank customers (PSUs) and banks (ASPSPs) to revoke consents. The consent revocation app provided to PSU is known as Self-care portal and the consent revocation app provided to ASPSP is known as Customer Care portal. You can find more information, here.
Do the following configurations in order to use the self-care portal (https://<WSO2_OBKM_HOST>:9446/consentmgt)
.
- On the Main tab of the Identity and Access Management Console, click Home > Identity > Service Providers> Add.
- EnterÂ
consentmgt
 as the Service Provider’s name. - Click Register.
Click Inbound Authentication configuration > OAuth/OpenID Connect configuration > Configure.
Set the values for the following parameters and keep the default value for the other parameters.Parameter Value OAuth Version 2.0 Allowed Grant Type code
Callback URL regexp=(https://<IAM_HOST>:<IAM_PORT>/consentmgt\|https://<IAM_HOST>:<IAM_PORT>/consentmgt)
The first and second URLs are respectively redirected and logout URLs.
The OAuth client key/client ID and OAuth client secret are generated. Those are used in Configuring consent management jaggery application.
Open theÂ
wso2-obkm-version/repository/deployment/server/jaggeryapps/consentmgt/config/
 file.conf.js
Modify theÂ
apimHost
,ÂapplicationId
,ÂauthCredential
,ÂredirectUrl
, andÂlogoutUrl
 parameters as follows.ÂInÂ
authCredential
, be sure to encode theÂCLIENT_ID:CLIENTSECRET
 withBASE64ENCODE
encoding.Â{ "app" : "consentmgt", "applicationType" : "oauth2", "tenantDomain": "carbon.super", "apimHost":"http://<OBAM_HOSTNAME>", "apimNioPort":"8280", "apimHttpPort":"9763", "kmHost" : "https://<WSO2_OBKM_HOSTNAME>", "kmPort" : "9446", "kmTokenAPI" : "oauth2/token", "kmAuthorizeAPI" : "oauth2/authorize", "applicationId":"", "authCredential":"", "redirectUrl":"https://<OBKM_HOSTNAME>:9446/consentmgt", "logoutUrl": "https://<HOSTNAME>:9446/consentmgt", "tokenApiName" : "token", "tokenApiVersion" : "", "authorizeApiName" : "authorize", "authorizeApiVersion" : "", "pagination" : { "limit" : 11, "actualLimit" : 10, "offset": 0 }, "DeployedSpecification" : "UK" }
Update the specification underÂ
DeployedSpecification
 parameter approproately. Possible values areÂUK, BERLIN,
 andÂSTET.
 By default, the value is set toÂUK.
Now that you have configured the consent revocation application, try out the consent revocation apps in WSO2 Open Banking: