- This topic has 2 replies, 2 voices, and was last updated 3 days ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › FABRIC General Questions and Discussion › Need for tokens?
I am working on a project with Nirmala Shenoy. All her students are able to setup a slice without using any tokens.
In my case, I was recently given access to the project and it requires me to generate Resource Token id before submitting the slice (i.e. I must download an id_token.json file from the Fabric portal into the ‘fabric_config’ folder every time that I try to create a slice). Now I’m curious if there’s a way to skip this step and still be able to execute the work on Fabric seamlessly.
Thank you.
Regards,
Sindhu Munugoti
Hi,
Could you please confirm which environment you’re using to create your slices—your local computer, JupyterHub, or LoomAI?
If you’re using LoomAI or JupyterHub, you shouldn’t need to download the tokens. The issue may be caused by a change to the default token path in fabric_rc.
Please open /home/fabric/work/fabric_rc and check that FABRIC_TOKEN_LOCATION is set to:
export FABRIC_TOKEN_LOCATION=/home/fabric/.tokens.json
If the value is different, update it and restart your server by selecting File → Hub Control Panel → Stop My Server, followed by Start My Server.
Please let us know if this helps resolve the issue.
Best,
Komal
Hi Komal,
Thank you so much for your suggestion. Yes, I should have mentioned this earlier, I’m using JupyterHub. I have followed your instructions and things are perfect now- I’ve tried creating new slices and it worked great. I’ll reach out to you in case I face any issues, but for now I’m assuming this issue has been resolved completely.
Thank you