エラー内容
Auth0でError!You don't have permissions to access the resource
と言うエラーが出ました。
上記のエラーが出た際の対応策を記します。
対応策
- 一度ログアウトします
- ログインします
- 再度Create APIにて作成します
以上。私は上記だけで解決しました。
補足
一応、上記の1の前に自分はメールアドレスによる有効化をおこなったので上記で解決しない人はAuth0に登録したメールアドレスのメールボックスを確認してメールアドレスの有効化を行いましょう。その後にもう一度上記の1~3の手順を行なってみてください。
Auth0に登録したての初回のアプリ作成時発生しがちな事象なのかなと思っています。