Predix_Logo
  • Categories
    • Questions
    • Predix | Updates
      • Pricing
      • Product
    • Deloitte - Private
    • How-To
    • Accenture-Private
  • Explore
    • Topics
    • Questions
    • Articles
    • Feedback or Feature Requests
  • Sign in
  • Home /
  • Questions /
avatar image
0
Question by tyson.daugherty@ge.com · May 30, 2018 at 12:41 PM · APMauthorizationapphubinvalid token error

AppHub - Authorization Request Error - Invalid Redirect. Detailed description below.

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": "" }

Comment
Add comment
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

  • Sort: 
avatar image
0

Answer by tyson.daugherty@ge.com · May 31, 2018 at 11:09 AM

@ritesh.mengji@ge.com

Comment
Add comment · Show 2 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ritesh.mengji@ge.com · May 31, 2018 at 11:12 AM 0
Share

The redirect URI in UAA should be https://apphubreactv1.predix-apphub-prod.run.aws-usw02-pr.ice.predix.io without callback

avatar image tyson.daugherty@ge.com · May 31, 2018 at 12:57 PM 0
Share

I had already tried that and got the same error.

Follow this Question

Answers Answers and Comments

98 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Is the apphub appConfigUrl a string or an array of customHeader, applicationChrome, and apphubKey? The documentation is inconsistent. 2 Answers

Should we be using the AppHub beta service or the UI-App-Hub app? 2 Answers

predix-asset Auth Failed 4 Answers

What's the process/workflow to get Predix tenancy that gives access to APM services? 1 Answer

UAA scopes to authorize my end points 1 Answer

GE Monogram
  • Legal
  • Cookies
  • Forum Terms
  • Contact Us
  • Copyright © 2017 General Electric Company. All rights reserved.


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Submit your feedback or feature request
  • Categories
  • Questions
  • Predix | Updates
    • Pricing
    • Product
  • Deloitte - Private
  • How-To
  • Accenture-Private
  • Explore
  • Topics
  • Questions
  • Articles
  • Feedback or Feature Requests