WSO2 openbanking demo api returns Failed Authentication with SMSOTP

204 views Asked by At

I am trying to use the demo site api https://openbanking.wso2.com/demo and on the User Authentication step i get Failed Authentication with SMSOTP 400 : BAD REQUEST even when the

url https://api-openbanking.wso2.com/AuthorizeAPI/v1.0.0/?response_type=code&scope=payments&state=cGlzcDoyMTU2&client_id=YOUR_CLIENT_ID&redirect_uri=https://openbanking.wso2.com/authorize_callback.do

is copied from the demo page. Has anyone been able to use this API ?

1

There are 1 answers

1
sejuba On

The alternate method works

curl -k -d "grant_type=client_credentials&scope=accounts payments" -H "Authorization: Basic "XXXXXXX" https://api-openbanking.wso2.com/TokenAPI/v1.0.0/