whint / messagestore-viewer-cf

https://www.integration-excellence.com/whint-messagestore-viewer-cloud-foundry/
GNU General Public License v3.0
0 stars 0 forks source link

Authorization Request Error - The redirect_uri has an invalid domain. #5

Open maeglin64 opened 4 months ago

maeglin64 commented 4 months ago

Hello,

I have configured the destinations as per instructions and I also assigned the new role MessageStoreViewer to my user. When I try to open the app then I'm getting this screen:

2024-04-17_11h25_02

Here are some screenshots from the Chrome dev tool:

2024-04-17_11h29_30 2024-04-17_11h29_07 2024-04-17_11h28_53

Here is the decoded URL which was called: https://<...>/oauth/authorize?response_type=code&client_id=sb-MessageStoreViewer!t206967&redirect_uri=https://<...>.hana.ondemand.com/login/callback

Could you please check this?

maeglin64 commented 4 months ago

I solved the issue by adding following node to the xs-security.json file in the .mtar archive: "oauth2-configuration": { "redirect-uris": [ "https://whint-msv-*.hana.ondemand.com/login/callback" ] }