I try to using the open bank project (OBP) in my android app. I want to list banks and the user can choose one or more of them to own list.
For this I clone the example app by OBP: https://github.com/OpenBankProject/Hello-OBP-OAuth1.0a-Android
Here my steps:
- Register on OBP-Page and register App for Keys: https://apisandbox.openbankproject.com/consumer-registration
- Clone example app https://github.com/OpenBankProject/Hello-OBP-OAuth1.0a-Android
- Open in Android Studio.
- Open OBPRestClient.java and change OBP_AUTH_KEY and OBP_SECRET_KEY by "Consumer Key" and "Consumer Secret". Change BASE_URL to "https://apisandbox.openbankproject.com".
- Open OAuthActivity.java and remove if (1 == 1) throw new RuntimeException("Setup required! See OAuthActivity.java");
- Open in res/values/strings and change customAppProtocol value to "intent".
- Open AndroidManifest and set intent filter for
- If I start the app a browser started and i must login to OBP-API. I do this and get a message by OBP.
- If I click on "here" the app dont start. I think my redirect url is wrong :(
what is the solution for this problem?
You need set same app_name of your app in name="customAppProtocol">app_name¨ and create new register in open bank project with redirectURL = app_name:/ That work for me.