Hi Lakshman,

Does the Identity server redirects to jaggery_acs page of AM? Can you add
few logs in acs page and check why it redirects to carbon? Another way is
to use browser developer tools to identify the redirections.

thank you.

On Sun, Dec 7, 2014 at 6:31 PM, Lakshman Udayakantha <[email protected]>
wrote:

> Below is the debug log in IS. when I browse the api store. Still couldn't
> find any reason why browser redirects finally to APIM carbon login page.
> Any thought on this?
>
> [2014-12-07 18:27:22,200] DEBUG
> {org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet} -  Query
> string : null
>
> [2014-12-07 18:27:22,201] DEBUG
> {org.wso2.carbon.identity.sso.saml.util.SAMLSSOUtil} -  Request message
> <?xml version="1.0" encoding="UTF-8"?>
>
> <saml2p:AuthnRequest ID="ikfepgeaecdccchhggcpikkbidgbegknnobejcoh"
> IssueInstant="2014-12-07T12:57:22.013Z" Version="2.0"
> xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol"><saml2:Issuer
> xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">API_STORE</saml2:Issuer><saml2p:NameIDPolicy
> AllowCreate="true"
> Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity"/></saml2p:AuthnRequest>
>
> [2014-12-07 18:27:22,203] DEBUG
> {org.wso2.carbon.identity.sso.saml.validators.AuthnRequestValidator} -
> Authentication Request Validation is successful..
>
> [2014-12-07 18:27:22,205] DEBUG
> {org.wso2.carbon.identity.application.authentication.framework.CommonApplicationAuthenticationServlet}
> -  CommonApplicationAuthenticationServlet sessionDataKey:
> f07a9294-b7c3-4ade-83d9-2c7ee8f0849c
>
> [2014-12-07 18:27:22,206] DEBUG
> {org.wso2.carbon.identity.application.authentication.framework.CommonApplicationAuthenticationServlet}
> -  The query-string sent by the calling servlet is:
> SAMLRequest=PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHNhbWwycDpBdXRoblJlcXVlc3QgSUQ9ImlrZmVwZ2VhZWNkY2NjaGhnZ2NwaWtrYmlkZ2JlZ2tubm9iZWpjb2giIElzc3VlSW5zdGFudD0iMjAxNC0xMi0wN1QxMjo1NzoyMi4wMTNaIiBWZXJzaW9uPSIyLjAiIHhtbG5zOnNhbWwycD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIj48c2FtbDI6SXNzdWVyIHhtbG5zOnNhbWwyPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YXNzZXJ0aW9uIj5BUElfU1RPUkU8L3NhbWwyOklzc3Vlcj48c2FtbDJwOk5hbWVJRFBvbGljeSBBbGxvd0NyZWF0ZT0idHJ1ZSIgRm9ybWF0PSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6bmFtZWlkLWZvcm1hdDplbnRpdHkiLz48L3NhbWwycDpBdXRoblJlcXVlc3Q+&issuer=API_STORE&sessionDataKey=35d61c55-e197-4491-8ce5-cb8865f82992&type=samlsso&commonAuthCallerPath=..%2F..%2Fsamlsso&forceAuthenticate=true
>
> [2014-12-07 18:27:22,206] DEBUG
> {org.wso2.carbon.identity.application.authentication.framework.CommonApplicationAuthenticationServlet}
> -  BasicAuthenticator has set custom status code: 11
>
>
>
> On Fri, Dec 5, 2014 at 6:23 PM, Lakshman Udayakantha <[email protected]>
> wrote:
>
>> Hi,
>>
>> I set up the $subject using [1]. But some[2] of it's configuration points
>> to IS 4.1 documentations. Any way after setting up the environment, when I
>> browse the api store, it redirects to the api manager carbon console not to
>> the saml sso login page. How ever I setup IS 4.1 with APIM 1.4 with the
>> same configuration without any issue. Is there any documentation available
>> to do the $subject or can I use the same configuration information as in
>> [1]?
>>
>> Thanks
>>
>>
>> [1] https://docs.wso2.com/display/AM140/Single+Sign-on+with+SAML+2.0
>> [2]
>> https://docs.wso2.com/display/IS410/Internal+JDBC+User+Store+Configuration
>>
>> --
>> Lakshman Udayakantha
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>> Mobile: *0711241005*
>>
>>
>
>
> --
> Lakshman Udayakantha
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
> Mobile: *0711241005*
>
>


-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to