Replace revoked gitlab token?


Topic: Replace revoked gitlab token?

Kalkowski asked 5 years ago

Hello there.

I received a gitlab access for the pro version of mdb vue version. However, I revoked the gitlab access token and created a new one. When I added mdb to our Vue project, I used the vue cli via vue add mdb. The setup was made with the old, revoked token.

Question: How can I replace the revoked token with the new one without having to use the setup wizard again?

Thank you in advance!


Magdalena Dembna staff premium answered 5 years ago

1/ Open package.json file

2/ Locate the following line:

"mdbvue": "git+https://oauth2:OLD_TOKEN@git.mdbootstrap.com/mdb/vue/vu-pro.git"

3/ Replace the OLD_TOKEN with the generated one

4/ Run npm i again


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.5.0
  • Device: Macbook Pro 16\'
  • Browser: Chrome
  • OS: macOS Catalina
  • Provided sample code: No
  • Provided link: No