Coder Social home page Coder Social logo

auth0-deploy-cli-extension's People

Contributors

crigot avatar fadymak avatar faroceann avatar fyockm avatar geotorres avatar janslow avatar lzychowski avatar mostekcm avatar pmalouin avatar santiagoaguiar avatar sgmeyer avatar shawnmclean avatar shushen avatar stevezau avatar zxan1285 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

auth0-deploy-cli-extension's Issues

A custom extension cannot be named as an official extension.

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:

image

A custom extension cannot be named as an official extension.

Is this a problem with the extension or docs?

Unable to uninstall auth0 deploy cli extension

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

Add Changelog

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 extension is untrusted

When I follow the installation steps, the summary shows me a message saying that "this is an untrusted extension that has not been reviewed by Auth0".

untrusted extension

Fix up the help docs

  • The text and images are squashed
  • The config.json is missing commas
  • The config.json should include keyword mappings and rules exclusions

Incorrect JSON snippet on extension page

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 >"
}

Outdated deploy CLI usage on extension page

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>

Clean up images on extension page

The images and formatting needs to be cleaned up:

  • The text and images are too close together making it hard to read
  • The top screenshot has some faded text at the top
  • Improve the image resolution, clean up identifiable info

image

created Client Application is "generic" - can't see permissions

  1. The created Client application is of type "generic" - what is that and where is it documented?

  2. 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.

  3. Generic type does not seem to be an option for creating via Dashboard.

image

Insufficient scopes when creating the application via Github installation

Issue

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.

To recreate:

  1. Follow the instructions to create the extension via the 'Create Extension' button (it will automatically create an application with scopes assigned)
  2. Install the a0deploy cli locally
  3. Plug in the client id and client secret from the application that the extension created
  4. Run 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"}

To resolve

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...

Problem running command export

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.