TAS
There are a TON of threads on this already. Search for "OAuth2" or just "OAuth" or "Basic Authentication" or "Modern Authentication".
In short, v1.17 stable (once released) will support this. We are hoping to release this early next week. There are 4 RCs (Release Candidates) available but these are strictly for testing and not recommended to run in production.
Cheers.