Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pinakipatrapro/1181130189281da53c4da0fcb0dc6afb to your computer and use it in GitHub Desktop.
Save pinakipatrapro/1181130189281da53c4da0fcb0dc6afb to your computer and use it in GitHub Desktop.
SAP BAS xsuaa error : Invalid redirect https://**
//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