Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth0 branding templates update throws panic #638

Closed
6 tasks done
ChristopherGillis opened this issue Feb 3, 2023 · 3 comments
Closed
6 tasks done

auth0 branding templates update throws panic #638

ChristopherGillis opened this issue Feb 3, 2023 · 3 comments
Labels
bug This points to a verified bug in the code

Comments

@ChristopherGillis
Copy link

Checklist

  • I have looked into the README and have not found a suitable solution or answer.
  • I have looked into the documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have upgraded to the latest version of this project and the issue still persists.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

I installed on MacOs using brew, logged in, and ran auth0 branding templates update as per the instructions.

I received:

⣻panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1aa7d1e]

goroutine 66 [running]:
github.com/auth0/auth0-cli/internal/cli.(*cli).obtainCustomTemplateData.func3()
        /home/runner/work/auth0-cli/auth0-cli/internal/cli/branding.go:435 +0x21e
golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/runner/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
        /home/runner/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:72 +0xa5

Expectation

I expected the terminal editor to open a custom template as per https://auth0.github.io/auth0-cli/auth0_branding_templates.html

Reproduction

Run auth0 branding templates update

Auth0 CLI version

0.13.1

@ChristopherGillis ChristopherGillis added the bug This points to a verified bug in the code label Feb 3, 2023
@willvedd
Copy link
Contributor

willvedd commented Feb 3, 2023

Thanks for submitting this issue! It is a duplicate of #515 however, so I'm going to close this one out. But note that this has been fixed with v1.0.0-beta.1 if you're so inclined to give that a shot. Otherwise, GA of v1.0.0 is coming up soon!

@willvedd willvedd closed this as completed Feb 3, 2023
@jsw
Copy link

jsw commented Feb 3, 2023

Happy to report this elsewhere, but I ran into the same issue, downloaded 1.0.0-beta.1, but when I run ./auth0 universal-login templates update I get the editor in my console but no browser window as expected in these docs

https://auth0.com/docs/customize/universal-login-pages/universal-login-page-templates#using-the-auth0-cli

@ChristopherGillis
Copy link
Author

Can confirm, beta release solves bug, and I see editor but no browser (which is fine by me). Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

No branches or pull requests

3 participants