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 <[email protected]> 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 <
> [email protected]> 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
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nuwan Dias
>
> Technical Lead - WSO2, Inc. http://wso2.com
> email : [email protected]
> Phone : +94 777 775 729
>



-- 
Priya Kishok
Software Engineer
WSO2, Inc : http://wso2.com
Mob : +94774457404
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to