Description
I have to integrate the zoom API into a custom LMS built in VB.NET. I have successfully created a CRUD app that creates, gets, updates and deletes the meetings via the API.
The response is redirected to the authorization URL while signing in and user credentials have to be entered manually. Can we do this using backend code?
The example code is given below:
Dim token =
JObject.Parse(System.IO.File.ReadAllText(ConfigurationManager.AppSettings("TokenFilePath")))
'Dim client = New RestClient($"https://api.zoom.us/v2/users/me")
Dim client = New RestClient("https://api.zoom.us/v2/users?
status=active&page_size=30&page_number=1")
Dim request = New RestRequest(Method.[GET])
request.AddHeader("content-type", "application/json")
request.AddHeader("authorization", $"Bearer {token("access_token").ToString()}")
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls Or
SecurityProtocolType.Tls11 Or SecurityProtocolType.Tls12
Dim respons As IRestResponse = client.Execute(request)
'Response.Cookies.Add(respons.Cookies)
Dim dta = String.Format(ConfigurationManager.AppSettings("AuthJwtUrl"),
ConfigurationManager.AppSettings("ClientId"), ConfigurationManager.AppSettings("RedirectUrl"))
Response.Redirect(dta)
The web SDK is available in node.js. How can I integrate the web SDK into my VB.NET code?
If this is not possible, what could be the other workaround?