Last active
May 3, 2024 12:25
-
-
Save pinakipatrapro/1181130189281da53c4da0fcb0dc6afb to your computer and use it in GitHub Desktop.
SAP BAS xsuaa error : Invalid redirect https://**
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//While creating the xsuaa service (or updating the existing service), pass the following details in the parameters. | |
//This is same as that of xs-security.json app. | |
//Below are the configs. | |
{ | |
"xsappname": "<same as xsuaa instance name>", // Get from the credentials file of already existing | |
"tenant-mode": "dedicated", | |
"scopes": [ | |
{ | |
"name": "uaa.user", | |
"description": "Token Exchange" | |
} | |
], | |
"role-templates": [ | |
{ | |
"name": "TOKEN_EXCHANGE", | |
"scope-references": [ | |
"uaa.user" | |
] | |
} | |
], | |
"oauth2-configuration": { | |
"redirect-uris": [ | |
"http://localhost:5000/login/callback", //For VS Code / Local development | |
"https://*.eu10.applicationstudio.cloud.sap/**" // For BAS | |
] | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment