on 07-24-2018 7:16 AM
Hi there,
I am trying to link multiple UI5 modules together using the xs-app.json file. When I provide the access without any authentication, it works fine, but when I enable authentication I get the error : "Unable to redirect after successful authetication. Missing redirect information: Required cookie 'locationAfterLogin' missing"
Did someone face the same problem?
Here is the code of my application router files with the information about the modules:
Module 1 (Library module):
"welcomeFile": "webapp/index.html",
"authenticationMethod": "route","routes": [{
"source":"^(.*)$",
"localDir":"resources/",
"authenticationType": " xsuaa "
}]
Module 2 (Contains an application and an embedded container)
"welcomeFile": "webapp/index.html",
"authenticationMethod": "route",
"routes": [{
"source": "^/module1/(.*)",
"target": "webapp/$1",
"destination": "ui-module1",
"authenticationType": " xsuaa "
}, {
"source": "^(.*)$",
"localDir": "resources/",
"authenticationType": "xsuaa"
}]
Module 3 (Contains an application that uses the container from module 2)
"welcomeFile": "/index.html",
"authenticationMethod": "route",
"routes": [{
"source":"^/module2/(.*)",
"target": "webapp/$1",
"destination": "component-module2",
"authenticationType": " xsuaa "
}, {
"source": "^/module1/(.*)",
"target": "webapp/$1",
"destination":"ui-module1",
"authenticationType": "xsuaa"
}, {
"source":"^(.*)$",
"localDir": "resources/","authenticationType":
"xsuaa"
}]
In the mta.yml file all requirements contain the following settings:
name = < module1 > | < module2 >
url = ~{provided-url}
forwardAuthToken = true
group = destinations
The urls in the provides sections are created using ${default-url}
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.