on 10-15-2018 1:56 PM
Hi Experts,
we were following this really nice Blog from Florian Pfeffer.
I will skip all the in detail described steps within this post and come rapidly to the issue.
1. We could follow this steps to get the Token: works fine 🙂
{
"access_token": "eyJhbGciOiJ82w",
"token_type": "bearer",
"refresh_token": "863613a162af46a2b",
"expires_in": 43199,
"scope": "openid external-api-access.Display",
"ext_attr": {
"enhancer": "XSUAA"
},
"jti": "d04b921e2d194e87902a70cab8c80e18"
}
2. Get the Endpoint
/api/testEndpoint:
This works, if we are registered additionally with the User on the Login of this application.
{
"success": true
}
But if we aren't registered , we get this redirect link.
Any ideas, what we are doing wrong?
Thanks a lot!
Hi Dirk,
the target of your request needs to go directly to the service endpoint (port of node/xsjs module) and
not through the approuter (port web/html5 module).
BR, HP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
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.