Feature: There currently seems to be no way to fetch user profile info from /userinfo when using the OIDC connection
Description: Custom Social OAuth2 connections have a “Fetch User Profile Script” feature that allows you to fetch more information (e.g. from the /userinfo) endpoint, but there’s no hook in the OIDC flow that provides the access token. This could potentially be done using a post-login action if the jwt was accessible there. See Custom Enterprise Connection requires actual call to /userinfo for more info
Use-case: We are attempting to get some custom claims that exist in the /userinfo endpoint of an OIDC connection and add them as custom claims to the access token.