How to Fix: The redirect_uri has an invalid domain

How to Fix: The redirect_uri has an invalid domain

Some times we see a problem when deploying Figaf in Cloud Foundry. That you are not able to login to the system

It does not happen always so it can depend on which platform you are using.
To resolve it opent he xs-security.json and add the following. 

In the json make sure you end after role collections with a ,
  1. "oauth2-configuration": {
  2.         "token-validity": 86400,
  3.         "refresh-token-validity": 2592000,
  4.         "redirect-uris":[
  5.             "https://**.cfapps.eu20-001.hana.ondemand.com/**"
  6.         ]  
  7.     }
Make sure you update the uri to your CF domain that you defined in the vars file. 

Save the file and run the command

  1. cf update-service  figaf-xsuaa -c xs-security.json
Now you should be albe to login.
You can work with  url 

    • Related Articles

    • Deploy to SAP BTP, Cloud Foundry

      This article describes how to deploy the Figaf tool to CPI BTP, Cloud Foundry. Before you get started you need to have a Cloud Foundry subaccount with Postgresql and Cloud Foundry Runtime enabled. Read more here how to get Setting up SAP BTP Account ...
    • How to download logs from Figaf app in SAP BTP

      SAP BTP cockpit allows accessing only the last 1000 lines of logs. Sometimes it's enough for debugging but in most cases, it's not. So there is a way to download all needed logs directly from the app. First of all, you need to execute next two ...
    • Setting up SAP BTP Account to deploy Figaf in Cloud Foundry

      BTP administration can be a bit complicated and contain difffrent setups. We have created a small guide for you to check before you install Figaf in BTP. It is likely that things will change there. We currently have a problem with running Figaf in ...
    • How to use PI/PO systems in SAP BTP

      PI/PO systems are usually located in a private environment so you need to use special SAP services to organize the connection. First of all, configure a cloud connector on the system which has access to PI/PO. (Configuration of the cloud connector is ...
    • Start here to install the Figaf Tool

      If you are looking to run Figaf there is a number of ways. Where The Figaf Tool is a standalone Java application that makes it easy to run in several different locations. We support Java 8. You can use Oracle 8 if you have a corporate license; we ...