auth0-extensions / auth0-deploy-cli-extension Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
When I click uninstall extension I get the message:
IMPORTANT: You are about to delete 'Auth0 Deploy CLI'. This means that it will not be available anymore. Do you really want to uninstall this extension? Doing so will also remove the rule and the token endpoint.. Do you want to continue?
But when I click OK nothing happens
Following the CLI Extension instructions, I clicked Create Extension, then gave it the URL:
https://github.com/auth0-extensions/auth0-deploy-cli-extension
After clicking Install I get this error message at the top:
A custom extension cannot be named as an official extension.
Is this a problem with the extension or docs?
When I install the extension (version 2.0), in the Extensions gallery, I see a link "Update to 1.0 (latest)".
Hiya, I have this issue, and no idea where to go from there:
$ a0deploy export -c config.json -f yaml -o ./
2019-06-27T16:50:52.761Z - info: Loading Auth0 Tenant Data
2019-06-27T16:50:52.763Z - info: Retrieving tenant data from Auth0
2019-06-27T16:50:52.893Z - info: Retrieving rules data from Auth0
2019-06-27T16:50:53.020Z - info: Retrieving pages data from Auth0
2019-06-27T16:50:53.273Z - info: Retrieving resourceServers data from Auth0
2019-06-27T16:50:53.394Z - info: Retrieving clients data from Auth0
2019-06-27T16:50:53.564Z - info: Retrieving databases data from Auth0
2019-06-27T16:50:53.711Z - info: Retrieving connections data from Auth0
2019-06-27T16:50:53.853Z - info: Retrieving rulesConfigs data from Auth0
2019-06-27T16:50:53.975Z - info: Retrieving emailProvider data from Auth0
2019-06-27T16:50:54.092Z - error: Problem running command export
2019-06-27T16:50:54.093Z - error: Problem loading tenant data from Auth0 Internal Server Error: An internal server error occurred
How can I find out, or log more details about what's going on here?
Following the installation instructions laid out here the scopes that are requested are not sufficient for running the a0deploy cli to export from a tenant. The export fails because it requires read:roles
.
a0deploy export -c config.json --strip -f directory -o dir/path
The error I get is
Problem loading tenant data from Auth0 APIError: {"statusCode":403,"error":"Forbidden","message":"Insufficient scope, expected any of: read:roles","errorCode":"insufficient_scope"}
I was able to resolve this by creating the application manually as described here and adding all the scopes the extension creates by default as well as the read:roles
scope. Using this application I am able to export my tenant configuration ๐ I suggest updating the scopes that the extension applies to the application that it creates. Though, I am not sure what in my tenant is causing it to require read:roles
in the first place...
Can you please add a changelog to this project?
It is not very comforting when a new version becomes available for this extension, but there are no easy ways to know about what changed, especially for folks less familiar with git and GitHub.
The created Client application is of type "generic" - what is that and where is it documented?
Because the Client is "generic" I can't seemingly see/modify the Management API permissions the application has. The Github deploy app has same "generic" type and problem.
Generic type does not seem to be an option for creating via Dashboard.
The example config.json
snippet is missing commas
{
"AUTH0_DOMAIN": "foo.auth0.com"
"AUTH0_CLIENT_ID": "< auth0-deploy-cli-extension client ID >"
"AUTH0_CLIENT_SECRET": "< auth0-deploy-cli-extension client secret >"
}
It shows the following syntax
a0deploy -i <your repo directory> -c <your config json>
The updated syntax with the new CLI would go something like this
a0deploy export -c <your config json> -f yaml -o <your repo directory>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.