Closed alaeddine-13 closed 1 year ago
@alaeddine-13 The granted user is not necessary a jina registered user. For example, I created a jina account and create a TOKEN. Then I can share this TOKEN with anybody (e.g., my teammate). Generall, IMO, the authentication token works for the consumer. jina auth login
works for the producer. So, at this moment, I would not merge them to make the logic confusing.
Stay tuned for the inference_client :)
Currently, users who want to authenticate to clip-as-service, need to perform 2 steps:
It would be great if login using CLI were enough (
jina auth login
). This implies that we retrieve the auth token using hubble.get_token (in addition to the existing methods).