/userinfo
is made to retrieve user information.
Calling /userinfo
requires an . If you don’t ask for an access token when authenticating, you will receive the following error:
The id_token cannot be validated because it was signed with the HS256 algorithm and public applications (like a browser) can’t store secrets. Please read the associated doc for possible ways to fix this.
responseType
parameter to token id_token
(instead of the default), so that you receive an access token in the response.