Re: [Dev] [APIM] Error in using WSO2 OAuth2 Playground with APIM 1.9.0
Hi Ushani, That also did not work. The problem is callback url is null in registered App. Thanks, On Thu, Jul 23, 2015 at 11:49 AM, Ushani Balasooriya ush...@wso2.com wrote: Hi Priyadarshini, If you are using the latest playground app in documentation, the callback url should be : http://localhost:8080/playground2/oauth2client You have given http://localhost:8080/playground2.0/oauth2client On Tue, Jul 21, 2015 at 11:47 AM, Priyadarssini Kishokumar priyadarss...@wso2.com wrote: Hi, I gave the url when the time of creating the application. The same way I tested with AM 1.7.0. On Tue, Jul 21, 2015 at 11:44 AM, Nuwan Dias nuw...@wso2.com wrote: Did you provide the call back url of the Application at the time of creating the Application or did you provide it by updating the Application after you generated keys? Thanks, NuwanD. On Tue, Jul 21, 2015 at 11:38 AM, Priyadarssini Kishokumar priyadarss...@wso2.com wrote: Hi, I created an api application with callback url http://localhost:8080/playground2.0/oauth2client;. I'm using playground2.0 with tomcat. When I tried to authorize with the needed parameters in playground, I'm getting below error. *invalid_callback*Registered callback does not match with the provided url. I enabled debug logs noticed the callback url is null in registered App as below. *[2015-07-21 11:27:35,055] DEBUG - OAuth2Service Validate Client information request for client_id : dKwiXdK4OpFMzYbcBMshiSHquIYa and callback_uri http://localhost:8080/playground2.0/oauth2client http://localhost:8080/playground2.0/oauth2client* *[2015-07-21 11:27:35,057] DEBUG - OAuthServerConfiguration An instance of org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor is created for OAuthServerConfiguration.* *[2015-07-21 11:27:35,059] DEBUG - OAuth2Service Registered App found for the given Client Id : dKwiXdK4OpFMzYbcBMshiSHquIYa ,App Name : admin_aaa_PRODUCTION, Callback URL :* I tried the same in AM 1.7.0 it is working fine. Is it a bug in AM 1.9.0 or do we need any additional configuration? -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Nuwan Dias Technical Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Ushani Balasooriya* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; +94772636796 -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM] Error in using WSO2 OAuth2 Playground with APIM 1.9.0
Hi Priyadarshini, If you are using the latest playground app in documentation, the callback url should be : http://localhost:8080/playground2/oauth2client You have given http://localhost:8080/playground2.0/oauth2client On Tue, Jul 21, 2015 at 11:47 AM, Priyadarssini Kishokumar priyadarss...@wso2.com wrote: Hi, I gave the url when the time of creating the application. The same way I tested with AM 1.7.0. On Tue, Jul 21, 2015 at 11:44 AM, Nuwan Dias nuw...@wso2.com wrote: Did you provide the call back url of the Application at the time of creating the Application or did you provide it by updating the Application after you generated keys? Thanks, NuwanD. On Tue, Jul 21, 2015 at 11:38 AM, Priyadarssini Kishokumar priyadarss...@wso2.com wrote: Hi, I created an api application with callback url http://localhost:8080/playground2.0/oauth2client;. I'm using playground2.0 with tomcat. When I tried to authorize with the needed parameters in playground, I'm getting below error. *invalid_callback*Registered callback does not match with the provided url. I enabled debug logs noticed the callback url is null in registered App as below. *[2015-07-21 11:27:35,055] DEBUG - OAuth2Service Validate Client information request for client_id : dKwiXdK4OpFMzYbcBMshiSHquIYa and callback_uri http://localhost:8080/playground2.0/oauth2client http://localhost:8080/playground2.0/oauth2client* *[2015-07-21 11:27:35,057] DEBUG - OAuthServerConfiguration An instance of org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor is created for OAuthServerConfiguration.* *[2015-07-21 11:27:35,059] DEBUG - OAuth2Service Registered App found for the given Client Id : dKwiXdK4OpFMzYbcBMshiSHquIYa ,App Name : admin_aaa_PRODUCTION, Callback URL :* I tried the same in AM 1.7.0 it is working fine. Is it a bug in AM 1.9.0 or do we need any additional configuration? -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Nuwan Dias Technical Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Ushani Balasooriya* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; +94772636796 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM] Error in using WSO2 OAuth2 Playground with APIM 1.9.0
Hi Priyadarssini, Are you facing the same issue when providing any callback url or is this only with WSO2 OAuth2 Playground? Thanks. On Thu, Jul 23, 2015 at 12:01 PM, Priyadarssini Kishokumar priyadarss...@wso2.com wrote: Hi Ushani, That also did not work. The problem is callback url is null in registered App. Thanks, On Thu, Jul 23, 2015 at 11:49 AM, Ushani Balasooriya ush...@wso2.com wrote: Hi Priyadarshini, If you are using the latest playground app in documentation, the callback url should be : http://localhost:8080/playground2/oauth2client You have given http://localhost:8080/playground2.0/oauth2client On Tue, Jul 21, 2015 at 11:47 AM, Priyadarssini Kishokumar priyadarss...@wso2.com wrote: Hi, I gave the url when the time of creating the application. The same way I tested with AM 1.7.0. On Tue, Jul 21, 2015 at 11:44 AM, Nuwan Dias nuw...@wso2.com wrote: Did you provide the call back url of the Application at the time of creating the Application or did you provide it by updating the Application after you generated keys? Thanks, NuwanD. On Tue, Jul 21, 2015 at 11:38 AM, Priyadarssini Kishokumar priyadarss...@wso2.com wrote: Hi, I created an api application with callback url http://localhost:8080/playground2.0/oauth2client;. I'm using playground2.0 with tomcat. When I tried to authorize with the needed parameters in playground, I'm getting below error. *invalid_callback*Registered callback does not match with the provided url. I enabled debug logs noticed the callback url is null in registered App as below. *[2015-07-21 11:27:35,055] DEBUG - OAuth2Service Validate Client information request for client_id : dKwiXdK4OpFMzYbcBMshiSHquIYa and callback_uri http://localhost:8080/playground2.0/oauth2client http://localhost:8080/playground2.0/oauth2client* *[2015-07-21 11:27:35,057] DEBUG - OAuthServerConfiguration An instance of org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor is created for OAuthServerConfiguration.* *[2015-07-21 11:27:35,059] DEBUG - OAuth2Service Registered App found for the given Client Id : dKwiXdK4OpFMzYbcBMshiSHquIYa ,App Name : admin_aaa_PRODUCTION, Callback URL :* I tried the same in AM 1.7.0 it is working fine. Is it a bug in AM 1.9.0 or do we need any additional configuration? -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Nuwan Dias Technical Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Ushani Balasooriya* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; +94772636796 -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, *Thilini Cooray* Software Engineer Mobile : +94 (0) 774 570 112 %2B94%20%280%29%20773%20451194 E-mail : thili...@wso2.com WSO2 Inc. www.wso2.com lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM] Error in using WSO2 OAuth2 Playground with APIM 1.9.0
Hi Thilini, The issue is there for any callback url. Thanks, On Thu, Jul 23, 2015 at 12:10 PM, Thilini Cooray thili...@wso2.com wrote: Hi Priyadarssini, Are you facing the same issue when providing any callback url or is this only with WSO2 OAuth2 Playground? Thanks. On Thu, Jul 23, 2015 at 12:01 PM, Priyadarssini Kishokumar priyadarss...@wso2.com wrote: Hi Ushani, That also did not work. The problem is callback url is null in registered App. Thanks, On Thu, Jul 23, 2015 at 11:49 AM, Ushani Balasooriya ush...@wso2.com wrote: Hi Priyadarshini, If you are using the latest playground app in documentation, the callback url should be : http://localhost:8080/playground2/oauth2client You have given http://localhost:8080/playground2.0/oauth2client On Tue, Jul 21, 2015 at 11:47 AM, Priyadarssini Kishokumar priyadarss...@wso2.com wrote: Hi, I gave the url when the time of creating the application. The same way I tested with AM 1.7.0. On Tue, Jul 21, 2015 at 11:44 AM, Nuwan Dias nuw...@wso2.com wrote: Did you provide the call back url of the Application at the time of creating the Application or did you provide it by updating the Application after you generated keys? Thanks, NuwanD. On Tue, Jul 21, 2015 at 11:38 AM, Priyadarssini Kishokumar priyadarss...@wso2.com wrote: Hi, I created an api application with callback url http://localhost:8080/playground2.0/oauth2client;. I'm using playground2.0 with tomcat. When I tried to authorize with the needed parameters in playground, I'm getting below error. *invalid_callback*Registered callback does not match with the provided url. I enabled debug logs noticed the callback url is null in registered App as below. *[2015-07-21 11:27:35,055] DEBUG - OAuth2Service Validate Client information request for client_id : dKwiXdK4OpFMzYbcBMshiSHquIYa and callback_uri http://localhost:8080/playground2.0/oauth2client http://localhost:8080/playground2.0/oauth2client* *[2015-07-21 11:27:35,057] DEBUG - OAuthServerConfiguration An instance of org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor is created for OAuthServerConfiguration.* *[2015-07-21 11:27:35,059] DEBUG - OAuth2Service Registered App found for the given Client Id : dKwiXdK4OpFMzYbcBMshiSHquIYa ,App Name : admin_aaa_PRODUCTION, Callback URL :* I tried the same in AM 1.7.0 it is working fine. Is it a bug in AM 1.9.0 or do we need any additional configuration? -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Nuwan Dias Technical Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Ushani Balasooriya* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; +94772636796 -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, *Thilini Cooray* Software Engineer Mobile : +94 (0) 774 570 112 %2B94%20%280%29%20773%20451194 E-mail : thili...@wso2.com WSO2 Inc. www.wso2.com lean.enterprise.middleware -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [APIM] Error in using WSO2 OAuth2 Playground with APIM 1.9.0
Hi, I created an api application with callback url http://localhost:8080/playground2.0/oauth2client;. I'm using playground2.0 with tomcat. When I tried to authorize with the needed parameters in playground, I'm getting below error. *invalid_callback*Registered callback does not match with the provided url. I enabled debug logs noticed the callback url is null in registered App as below. *[2015-07-21 11:27:35,055] DEBUG - OAuth2Service Validate Client information request for client_id : dKwiXdK4OpFMzYbcBMshiSHquIYa and callback_uri http://localhost:8080/playground2.0/oauth2client http://localhost:8080/playground2.0/oauth2client* *[2015-07-21 11:27:35,057] DEBUG - OAuthServerConfiguration An instance of org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor is created for OAuthServerConfiguration.* *[2015-07-21 11:27:35,059] DEBUG - OAuth2Service Registered App found for the given Client Id : dKwiXdK4OpFMzYbcBMshiSHquIYa ,App Name : admin_aaa_PRODUCTION, Callback URL :* I tried the same in AM 1.7.0 it is working fine. Is it a bug in AM 1.9.0 or do we need any additional configuration? -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM] Error in using WSO2 OAuth2 Playground with APIM 1.9.0
Did you provide the call back url of the Application at the time of creating the Application or did you provide it by updating the Application after you generated keys? Thanks, NuwanD. On Tue, Jul 21, 2015 at 11:38 AM, Priyadarssini Kishokumar priyadarss...@wso2.com wrote: Hi, I created an api application with callback url http://localhost:8080/playground2.0/oauth2client;. I'm using playground2.0 with tomcat. When I tried to authorize with the needed parameters in playground, I'm getting below error. *invalid_callback*Registered callback does not match with the provided url. I enabled debug logs noticed the callback url is null in registered App as below. *[2015-07-21 11:27:35,055] DEBUG - OAuth2Service Validate Client information request for client_id : dKwiXdK4OpFMzYbcBMshiSHquIYa and callback_uri http://localhost:8080/playground2.0/oauth2client http://localhost:8080/playground2.0/oauth2client* *[2015-07-21 11:27:35,057] DEBUG - OAuthServerConfiguration An instance of org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor is created for OAuthServerConfiguration.* *[2015-07-21 11:27:35,059] DEBUG - OAuth2Service Registered App found for the given Client Id : dKwiXdK4OpFMzYbcBMshiSHquIYa ,App Name : admin_aaa_PRODUCTION, Callback URL :* I tried the same in AM 1.7.0 it is working fine. Is it a bug in AM 1.9.0 or do we need any additional configuration? -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Nuwan Dias Technical Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM] Error in using WSO2 OAuth2 Playground with APIM 1.9.0
Hi, I gave the url when the time of creating the application. The same way I tested with AM 1.7.0. On Tue, Jul 21, 2015 at 11:44 AM, Nuwan Dias nuw...@wso2.com wrote: Did you provide the call back url of the Application at the time of creating the Application or did you provide it by updating the Application after you generated keys? Thanks, NuwanD. On Tue, Jul 21, 2015 at 11:38 AM, Priyadarssini Kishokumar priyadarss...@wso2.com wrote: Hi, I created an api application with callback url http://localhost:8080/playground2.0/oauth2client;. I'm using playground2.0 with tomcat. When I tried to authorize with the needed parameters in playground, I'm getting below error. *invalid_callback*Registered callback does not match with the provided url. I enabled debug logs noticed the callback url is null in registered App as below. *[2015-07-21 11:27:35,055] DEBUG - OAuth2Service Validate Client information request for client_id : dKwiXdK4OpFMzYbcBMshiSHquIYa and callback_uri http://localhost:8080/playground2.0/oauth2client http://localhost:8080/playground2.0/oauth2client* *[2015-07-21 11:27:35,057] DEBUG - OAuthServerConfiguration An instance of org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor is created for OAuthServerConfiguration.* *[2015-07-21 11:27:35,059] DEBUG - OAuth2Service Registered App found for the given Client Id : dKwiXdK4OpFMzYbcBMshiSHquIYa ,App Name : admin_aaa_PRODUCTION, Callback URL :* I tried the same in AM 1.7.0 it is working fine. Is it a bug in AM 1.9.0 or do we need any additional configuration? -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Nuwan Dias Technical Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev