You need to send "openid" as scope while authorizing. Please look at the
[1]

[1]
https://docs.wso2.com/display/IS500/OpenID+Connect+with+the+WSO2+Identity+Server+and+WSO2+OAuth2+Playground

Thanks
Godwin


On Fri, Mar 24, 2017 at 10:05 PM, Hanen Ben Rhouma <[email protected]>
wrote:

> Hi,
>
> Do I need extra params to invoke the userinfo endpoint (
> https://host:9443/oauth2/userinfo) ?
>
> I'm getting
>   "error_description": "Access token does not have the openid scope",
>   "error": "insufficient_scope"
>
> Eventhough I'm using Oauth2 without OpenID
>
> Regards,
> Hanen
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Godwin Amila Shrimal*
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
twitter: https://twitter.com/godwinamila
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to