question

girish.p.buckzypaymentsinc@creator.fusionfabric.cloud avatar image

Error while requesting token from postman

Hello,

As indicated in the documentation, I cloned Spring Boot Sample App form the following link:
https://github.com/FusionFabric/ffdc-sample-springboot.

+I created an application called 'Financial Toolbox' in **Fusion**Fabric.cloud Developer Portal. It has the following properties:
Client ID : bb0cdc2f-dde4-4ad4-8651-751c41081735
Reply URLs : 'http://localhost:8081/login/oauth2/code/finastra'

+I modified `application.yml` file of 'Spring Boot Sample App form'
++in such a way that the client ID and Access Key matche those of the application that I created:
Client ID : bb0cdc2f-dde4-4ad4-8651-751c41081735
++the `authorization_endpoint`, `token_endpoint`, and `jwks_uri` match those of the Discovery service of **Fusion**Fabric.cloud Developer Portal.

I then tried to run the application with Maven:
Run the app with maven:
mvn spring-boot:run

I then hit the following url (http://localhost:8081) with my web browser:


[unsupported_response_type] Client is not allowed to initiate browser login with given response_type. Standard flow is disabled for the client.

Authentication
2 comments
10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Davide Appiano avatar image Davide Appiano ♦♦ commented ·

Hello @girish.p.buckzypaymentsinc@creator.fusionfabric.cloud,

Do you have this issue in Postman too or only in with Java code?

0 Likes 0 ·
girish.p.buckzypaymentsinc@creator.fusionfabric.cloud avatar image girish.p.buckzypaymentsinc@creator.fusionfabric.cloud Davide Appiano ♦♦ commented ·

Hi,

When I try to request access token from postman i can see the above error in postman console and also in the logs of the sample spring boot application.

0 Likes 0 ·

1 Answer

Felix Grevy avatar image
Felix Grevy answered

Hello Girish

When you create the app in the portal, you have 3 client id, an you can create 3 type of secrets, one for each Channel type. Please make sure you are using the right secret and client id marching the API channel type.

2 comments
10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Hi,

Thanks for your reply. I am using the correct one B2B. I have not created the secrets for the other two channel types.

0 Likes 0 ·
Michal_Stefanik avatar image Michal_Stefanik ♦♦ girish.p.buckzypaymentsinc@creator.fusionfabric.cloud commented ·

Hello,

please try with B2E or DIGITAL. The client app created from dev portal is not supported by "authorization code" grant flow.

Kindly remind that you need to choose "B2E" or "Digital" when creating the app from the dev portals if you want to do the authorization code flow.

"B2B" is only for client credential flow.

1 Like 1 ·