getting attributes from userpools cognito using sub code example Example: access custom attributes in hosted ui token decode id token which is received