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

"✖ Cannot read property 'properties' of undefined" when creating credentials after deactivating with CLI #884

Closed
ontehfritz opened this issue Mar 20, 2019 · 1 comment

Comments

@ontehfritz
Copy link
Contributor

When you create credentials and want to deactivate and recreate the credentials it fails with:
✖ Cannot read property 'properties' of undefined

eg credentials create -c admin -t key-auth
eg credentials deactivate -t key-auth [put credential id here]
eg credentials create -c admin -t key-auth -p "scopes=admin"

throws exception: ✖ Cannot read property 'properties' of undefined

There should be a away to revoke credentials entirely.

@XVincentX
Copy link
Member

I can't reproduce this — I've followed the instructions and I correctly got the error "one or more scopes do not exist"

I created the missing scope and I correctly received a new credential. Could you provide more details? Then feel free to reopen!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants