I have created an apphub service. When I try to login using the username and password I receive the following error. "Invalid redirect https://apphubreactv1.predix-apphub-prod.run.aws-usw02-pr.ice.predix.io/callback did not match one of the registered values"
The redirect URIs I have defined in my oath2 client are https://apphubreactv1.predix-apphub-prod.run.aws-usw02-pr.ice.predix.io/callback and https://apphubreactv1.predix-apphub-prod.run.aws-usw02-pr.ice.predix.io/no/callback.
Any thoughts? I followed the apphub docs when creating the UAA service and clients and the apphub service.
Service Key response { "predix_apphub_config_uri": "https://predix-apphub-arcs-prod.run.aws-usw02-pr.ice.predix.io/config", "predix_apphub_url": "https://apphubreactv1.predix-apphub-prod.run.aws-usw02-pr.ice.predix.io/no", "shared": false, "userprovided_appconfig_uri": "", "zone": { "http-header-name": "Predix-Zone-Id", "http-header-value": "79731e3c-c2c2-4af0-84e3-a35a90871b7b", "oauth-scope": "predix-apphub-service.zones.79731e3c-c2c2-4af0-84e3-a35a90871b7b.user" } }
Config used when creating apphub service. { "uaa": { "uaaUri": "https://05addbbe-90fd-485f-b9dd-47cd69bd904c.predix-uaa.run.aws-usw02-pr.ice.predix.io", "clientID": "admin", "clientSecret": "xxxxxxxxxxx" }, "routeInfo": { "hostName": "apphubReactV1", "shared": false, "context": "no" }, "appConfigURL": "", "customHeader": {}, "applicationChrome": true, "apphubKey": "" }
Answer by tyson.daugherty@ge.com · May 31, 2018 at 11:09 AM
The redirect URI in UAA should be https://apphubreactv1.predix-apphub-prod.run.aws-usw02-pr.ice.predix.io without callback
I had already tried that and got the same error.