I was trying to use the create new token api for my user admin through postman but its
giving this 403 error.
I know i can create it through UI by logging in but can’t i create the token through backend as well?
I was trying to use the create new token api for my user admin through postman but its
giving this 403 error.
I know i can create it through UI by logging in but can’t i create the token through backend as well?
You can create a new token using the API, but you’ll always need at least one manually created token to make that call.
You can either create that first token through the UI, or you could define an external JupyterHub service and define your own api_token
:
This might require changes in jupyter_config.py is there a way i can use this in values.yaml.
Yes, you can set hub.services
Yep thx it works
services:
service-admin:
name: service-admin
apiToken: my_api_token
admin: true