Support for UserInfo endpoint

Given an access_token, the UserInfo endpoint, as defined in https://openid.net/specs/openid-connect-core-1_0.html#UserInfo, may provide additional claims.

Some OIDC client libraries have built-in support for fetching UserInfo, e.g:

This could be a nice feature for leptos-oidc.

For example Entra ID does not provide the picture claim in the id_token but provides it through the UserInfo endpoint. I guess there are other use cases.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information