Implementing SAP xsuaa service with java and deployed, accessing the application URL facing below issue.
SAP CF XSUAA Service - Error Message: Invalid redirect <redirect_uri>/login/callback did not matched the registered values
4.1k Views Asked by Atul Jain At
2
There are 2 best solutions below
0
Sayyed Ahmad Hosseini
On
I had the same problem while doing this sap tutorial (https://developers.sap.com/tutorials/btp-cf-buildpacks-node-create.html) and it was solved by adding the oath2-configuration to the xs-security.json:
"oauth2-configuration": {
"token-validity": 604800,
"refresh-token-validity": 2592000,
"redirect-uris": [
"https://<App-router Url>/**"
]
},
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in NODE.JS
- How to solve CERT_UNTRUSTED error in nodemailer
- Run a loop over a callback, node js
- Implementing prerender.io middleware in sails.js
- Token based authorization in nodejs/ExpressJs and Angular(Single Page Application)
- formatting path string in javascript
- One to One screensharing using WEBRTC
- Create polygon from grid (for collisions)
- Strange npm behavior when installing packages like grunt
- Convert JSON.gz to JSON in node js
- "Your npm version is outdated." but it's not. While install yo
- Why put methods on the prototype of a class instead of declaring them in the constructor?
- Node JS Async Response
- mongoose get property from nested schema after `group`
- Cannot Receive Incoming call on Twilio android Client
- How can I change a specific line in a file with node js?
Related Questions in CLOUDFOUNDRY-UAA
- CloudFoundry Trace and the case of the Private Data
- How to operate pivotal cloud foundry opsman though java RESTful
- How to tell Grafana using OAuth that some user is admin or belong to some org?
- Reuse services in Cloud Foundry with programmatic and interactive endpoints
- Authentication for Spring Cloud Data Flow Server
- How to install Credhub as a service broker on Korifi?
- spring security reactive "Invalid credentials" error using Cloud Foundry UAA
- Pivotal Cloud Foundry is based on container or VM
- What is the difference between pivotal cloudfoundry and VMWare Tanzu cloudfoundry
- Pivotal Cloud Foundry version string empty error
- Access denied in UAA token verification
- Expected to find a map at path '/instance_groups/name=bosh/jobs/uaa' but found '[]interface {}'
- Creating OAuth 2.0 Login Provider with Spring Boot
- what is the alternative in Tanzu for https://console.run.pivotal.io/
- Logout functionality is not working properly in SAP Cloud Foundry authentication with XSUAA
Related Questions in SAP-CLOUD-FOUNDRY
- SAPUI5 JSON Model via REST API - Using DESTINATION in xs-app.json / BTP does not resolve Correctly
- SAP CAP Node.js OData query lambda operator with HANA Cloud Database
- Connector tunnel reset between SAP BTP and Cloud Connector
- Create HDI Container automatically in Cloud Foundry
- How can the cf controller authenticate itself agains apps in BTP?
- OData batch request through connectivity service always returns 202 Accepted
- sap.ushell.Container is undefined in SAPUI5 app deployed on SAP BTP Cloud Foundry
- How to read a file on Windows shared folder from Springboot?
- Connect to remote file system from CF Java Application?
- How to use Træfik in Cloud Foundry?
- Disable iframe embedding of Cloud foundry deployed app
- Having issue with Multi Threaded Java app in Cloud Foundry
- Change log level at runtime for a cf application based on SAP Java Buildpack
- Using Multer library in SAP cloud platform(Web IDE)- cloud foundry
- Error while binding service instance in SAP CAP using external service
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

Posting this problem solution as I faced and resolved.
Case 1: If you are using BAS (Business Application Studio) and deploying through mta file, make sure you have added forwardAuthToken: true for xsuaa service associated application instance.
in the mta file add the below properties.
If it is not working after that then check your xs-security.json file
Case 2: If deploying a java application below properties should be set in the menifest.yml file.