Hi IS team,

I have tried access token generation with token encryption as below and I
couldn't generate a token: jira raised for this issue[1]

Can you please let me know if there are any more configuration needs to be
done ?

Steps:
----------

- Modify the configuration for TokenPersistenceProcessor in the
identity.xml.
change this
<TokenPersistenceProcessor>org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor</TokenPersistenceProcessor>

to this
<TokenPersistenceProcessor>org.wso2.carbon.identity.oauth.tokenprocessor.EncryptionDecryptionPersistenceProcessor</TokenPersistenceProcessor>


- Run the server and create a SP
- Configure OAuth/OpenID connect configuration with OAuth-2.0
- Try access token generation by curl

curl -v -X POST --basic -u
jW5fQYoSfdhzrnGVXTjmnPW23EMa:sZ3M13Bjdd3zWvR6vfdE5qaJZjEa -H
"Content-Type:application/x-www-form-urlencoded;charset=UTF-8" -k -d
"grant_type=password&scope=openid&username=admin&password=admin"
https://localhost:9443/oauth2/token



There is no description in IS doc for token encryption: a documentation
jira raised for this[2]


[1] https://wso2.org/jira/browse/IDENTITY-4089

[2] https://wso2.org/jira/browse/DOCUMENTATION-2719


-- 
Kavitha.S
*Software Engineer -QA*
Mobile : +94 (0) 771538811 <%2B94%20%280%29%20773%20451194>
kavi...@wso2.com <thili...@wso2.com>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to