Cannot create a flow vault connection as the permission is not in my token

So I am trying to use the management API to create a vault

POST /flows/vault/connections

However, the permission ‘create:flows_vault_connections’ is not in the access token so it fails!

How else can I create a vault as doing it via the Flow UI fails with a Bad Request - no real intuitive error message.

Scopes not permissions :smiley:

Hi @davidedwards

Welcome to the Auth0 Community!

Thank you for posting your question. Can you share with me how you are getting the access token?

If you go to the APIs → Auth0 Management API → Machine to Machine Applications and click on API Explorer, you will be able to select the necessary permission (‘create:flows_vault_connections’) for your access token to be able to create a vault.

Thanks
Dawid

1 Like

Fantastic - that has helped a lot!

1 Like