Re: [Dev] Invalid grant for url encoded password parameter in auth token request

2017-01-19 Thread Farasath Ahamed
Farasath Ahamed Software Engineer, WSO2 Inc.; http://wso2.com Mobile: +94777603866 Blog: blog.farazath.com Twitter: @farazath619 On Fri, Jan 20, 2017 at 10:59 AM, Nuwandi Wickramasinghe wrote: > In the request

Re: [Dev] Invalid grant for url encoded password parameter in auth token request

2017-01-19 Thread Nuwandi Wickramasinghe
In the request parameters in the curl command, *password=test%26grant_type=password* there's no parameter seperation between password and grant_type. Was this the same command you sent? On Fri, Jan 20, 2017 at 10:48 AM, Maduranga Siriwardena wrote: > I tried password grant

Re: [Dev] Invalid grant for url encoded password parameter in auth token request

2017-01-19 Thread Maduranga Siriwardena
I tried password grant type with a user having "&" character for the password. If I enter the password to the curl command after url encoding, it worked fine for me. Can you see any error log in backend? Try enabling debug logs for the packages org.wso2.carbon.identity.oauth and

[Dev] Invalid grant for url encoded password parameter in auth token request

2017-01-19 Thread Sameera Gunarathne
Hi all, I am trying to get auth token from '/oauth2/token' endpoint using following request which accesses oauth2 webapp deployed from identity-inbound-auth-oauth extension in EMM. curl -k -d "username=test_user=default appm:read device:android:enroll device:android:event:manage