Custom claims are not added in the token

Regarding the link you provided, that’s not a correct info. I added a comment there.