From cd4f82c27b84ec2516d3c38a5b5acaf8823e2702 Mon Sep 17 00:00:00 2001 From: Shaba Abhiram Date: Fri, 20 Nov 2020 05:37:50 +0000 Subject: [PATCH] endpoints: add Zoom endpoint See #424 Change-Id: I1fa6230082261f60a8e41387ad2bf481df0a1fce GitHub-Last-Rev: 6fba3dd9d1d5e052911338058ea908b8238e8f02 GitHub-Pull-Request: golang/oauth2#453 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/271826 Reviewed-by: Brad Fitzpatrick Trust: Brad Fitzpatrick Trust: Tobias Klauser Run-TryBot: Brad Fitzpatrick TryBot-Result: Go Bot --- endpoints/endpoints.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/endpoints/endpoints.go b/endpoints/endpoints.go index 811e101..3b7f32a 100644 --- a/endpoints/endpoints.go +++ b/endpoints/endpoints.go @@ -197,6 +197,12 @@ var Yandex = oauth2.Endpoint{ TokenURL: "https://oauth.yandex.com/token", } +// Zoom is the endpoint for Zoom. +var Zoom = oauth2.Endpoint{ + AuthURL: "https://zoom.us/oauth/authorize", + TokenURL: "https://zoom.us/oauth/token", +} + // AzureAD returns a new oauth2.Endpoint for the given tenant at Azure Active Directory. // If tenant is empty, it uses the tenant called `common`. //