Hi All,
I found the issue. There a difference between commonauth endpoint. In
"authenticationendpoint" webapp form submission is submitted to
"../../commonauth" hence when accessing through localhost; it would be
"localhost/commonauth".
In my case, "devicemgt" webapp form submission action url is always
"{IP}/commonauth". Changing that to relative URL, "/commonauth" fixed the
issue.
Thanks,
Rasika
On Fri, Dec 9, 2016 at 11:39 AM, Rasika Perera <[email protected]> wrote:
> [Adding Sumedha, RuwanY, Geeth]
>
> On Fri, Dec 9, 2016 at 11:37 AM, Rasika Perera <[email protected]> wrote:
>
>> Hi All,
>>
>> We are trying to setup a custom login page for SSO login instead of
>> "authenticationendpoint" webapp. I have followed blog [1] and setup
>> authentication endpoint as follows in "/repository/conf/identity/app
>> lication-authentication.xml";
>>
>> <AuthenticationEndpointURL>/devicemgt/login</AuthenticationEndpointURL>
>> <AuthenticationEndpointRetryURL>/devicemgt/login?retry=true<
>> /AuthenticationEndpointRetryURL>
>>
>> Through the custom webapp; "/devicemgt", I am submitting username,
>> password, and sessionDataKey parameters to "/commonauth"(same as
>> authenticationendpoint webapp does) and it is getting authenticated
>> correctly.
>>
>> But for each app "/store", "/publisher"; I need to login again(SSO is
>> broken). When pointing "authenticationendpoint" webapp as authentication
>> endpoint it works correctly.
>>
>> Anything I missed here? Any idea on how to fix this issue?
>>
>> [1] https://docs.wso2.com/display/IS520/Customizing+Login+
>> Pages+for+Service+Providers
>>
>> --
>> With Regards,
>>
>> *Rasika Perera*
>> Software Engineer
>> LinkedIn: http://lk.linkedin.com/in/rasika90
>>
>> <http://wso2.com/signature>
>>
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> With Regards,
>
> *Rasika Perera*
> Software Engineer
> LinkedIn: http://lk.linkedin.com/in/rasika90
>
> <http://wso2.com/signature>
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>
--
With Regards,
*Rasika Perera*
Software Engineer
LinkedIn: http://lk.linkedin.com/in/rasika90
<http://wso2.com/signature>
WSO2 Inc. www.wso2.com
lean.enterprise.middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev