How to retrieve user metadata in the id_token?

For those looking to add metadata to a user’s ID token, Actions are now the recommended - Please see the following post for details:

:rocket: