pytorch / serve

Serve, optimize and scale PyTorch models in production
https://pytorch.org/serve/
Apache License 2.0
4.17k stars 845 forks source link

[RFC] Token Authorization by default #3184

Open udaij12 opened 3 months ago

udaij12 commented 3 months ago

🚀 The feature

Token authorization is currently a plugin feature for Torchserve, however we want to enable this by default. https://github.com/pytorch/serve/issues/3157

Motivation, pitch

Enabling token authorization by default will prevent users from having unintended API calls to their server.

Alternatives

No response

Additional context

No response

### Tasks
- [ ] https://github.com/pytorch/serve/pull/3163