OAuth get Token fails

I was following tutorial and running the code to get token for OAuth from example

I am getting the error when I am calling grantToken from Token Service . When I googled I saw issue is because of AIDL file but I didn’t find AIDL file in the repo .

E/AndroidRuntime: FATAL EXCEPTION: main
Process: fashtag.com.fashtag, PID: 3000
java.lang.SecurityException: Binder invocation to an incorrect interface
at android.os.Parcel.readException(Parcel.java:1599)
at android.os.Parcel.readException(Parcel.java:1552)
at co.poynt.os.services.v1.IPoyntTokenService$Stub$Proxy.grantToken(IPoyntTokenService.java:90)
at fashtag.com.fashtag.mvp.ui.dashboard.MainActivity$bizServiceConnection$1.onServiceConnected(MainActivity.kt:143)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1223)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1240)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Currently Callback URL for OAuth is configured as a get URL which gets Query param “code” as JWT . Did I do something wrong with callback . It is not getting redirected as well . Can you please help me resolve this issue .

Regards,
Shashank

My bad i kept wrong intent . I should be using “Intents.COMPONENT_POYNT_TOKEN_SERVICE” but I used “Intents.COMPONENT_POYNT_BUSINESS_SERVICE” .