Store social connections in the custom database

I tried to use the following tutorial Sample Use Cases: Scopes and Claims for adding custom claims to tokens but it doesn’t work for access tokens. I also didn’t find the api parameter documentation, what functionality this API has. It would be nice if you add any documentation right to the action editing page or a link to the default code in the action editor.

Trying to make access tokens to contain custom claim I copied the same code to an M2M / Client-Credentials action, but it doesn’t work and I can’t find any docs about getting user data in it.

Auth0 seems to be a great and powerful tool. But it’s not the first time I try to do something with it but every time it hurts because I feel like a blind kitten. Every minor customization is unintuitive and requires a lot of googling and support from a live person and takes a few days to get it working…

Here in actions, I see a code editor, nice. But what can I do in it? I have a function and some params. Alright. But what about params objects’ documentation? I can’t find any links to the Actions documentation from the Actions section. But I can find a link to some piece of docs in… Rules and Hooks sections pages! Why no links to docs on the Actions page?

Okay, I see CredentialsExchangeAPI or PostLoginAPI. And what do they mean? What can I do with them? I’m googling these names and can’t find documentation. Why do you make your users spend so much time on very basic things? Interface whose methods can be used to change the behavior of the login. - false, because nobody knows HOW to use this interface and what methods it has.