Our current MAF application is build using basic auth.
We want to build SSO feature for our application.
I want to login my SSO credential and direct to default feature. How can i accomplish this?
I have cloud url which re directs me to SSO page.
Here is what i tried:
I created login connection using SSO. (see below)
Created feature which should display amx page.
Issue: SSO page is not showing up where i can give credentials. App goes directly to the amx page.
NOTE: SSO page on the server.
log shows following error message:
JSONValue failed. Error trace is: (
"Error Domain=org.brautaset.JSON.ErrorDomain Code=11 \"Unexpected end of string\" UserInfo={NSLocalizedDescription=Unexpected end of string}"
)
2018-03-14 13:44:37.001 SSO[21269:186572] -JSONValue failed. Error trace is: (
"Error Domain=org.brautaset.JSON.ErrorDomain Code=11 \"Unexpected end of string\" UserInfo={NSLocalizedDescription=Unexpected end of string}"
)
2018-03-14 13:44:37.014 SSO[21269:186745] -[OMFederatedAuthenticationService fedAuthCompleted:][Line #:181]: Did not receive access token after authentication
Connection.xml:
<Contents>
<login url="https://xxxx/fscmUI/faces/FuseWelcome"/>
<logout url="https://xxxxx/mysso/signon.jsp"/>
<loginSuccessUrl url="https://xxxxx/fscmUI/faces/FuseWelcome">
<parseTokenRelayResponse value="true"/>
</loginSuccessUrl>
<loginFailureUrl url="https://xxxxxx/mysso/signon.jsp"/>
<authenticationMode value="remote"/>