How to Set Access Token Claims Using Actions

Problem Statement:

How to set Access Token claims using Actions

Solutions:

You can use api.accessToken.setCustomClaim(name, value) when creating a the post-login hook.

Please check this doc: