custom oAuth2 token after a sam2 assertion check

本小妞迷上赌 提交于 2019-12-13 04:37:19

问题


I need to release, using wso2 is, a custom oAuth2 token after a check on saml2 assertion as input. How is it possibile customized the oAuth2 token ?


回答1:


You can retrieve OAuth access token for SAML2 assertion. As WSO2 Identity Server 4.5.0 supports saml2 bearer assertion grant type. You can find the doc. You can modify the returning OAuth2 access token by adding custom implementation. There is an interface that you can implement this. Here you have a method called "issue". Actually you may can implement the Abstract class of this. However i have not done this.. Just for information.



来源:https://stackoverflow.com/questions/20374120/custom-oauth2-token-after-a-sam2-assertion-check

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!