OAuth App with generate token

Hello everyone,
I’m not able to generate a token for use resource by zoom API.
I have a some information related to zoom API access. I want to code to generate or refresh token by java. I have short time to integrate zoom with my web app.
1.OAuth app (Sikhaoo-Live-Class)
2. Client Id
3. Client Secret
4. Redirect url (http://enggheads.in/enggheads-web-v18/outsider/hello)

Hi @sikhaooapp,

Please see our OAuth guide here for the steps necessary to generate an OAuth token or refresh one:

While we don’t have a sample in java, let us know what errors or issue you’re running into and we’re happy to help.


I’m able to generate token with chrome or postman and Callback URL working fine. When i’m hit same URL with the help of java code then Callback URL not working properly and return a unknown zoom web page so help me

GET_URL = " https://zoom.us/oauth/authorize?response_type=code&client_id=7lstjK9NTyett_oeXtFiEQ&redirect_uri=https://yourapp.com"

private static void sendGET() throws IOException {
	URL obj = new URL(GET_URL);
	HttpURLConnection con = (HttpURLConnection) obj.openConnection();
	con.setRequestProperty("User-Agent", USER_AGENT);
	int responseCode = con.getResponseCode();
	System.out.println("GET Response Code :: " + responseCode);
	if (responseCode == HttpURLConnection.HTTP_OK) { // success
		BufferedReader in = new BufferedReader(new InputStreamReader(
		String inputLine;
		StringBuffer response = new StringBuffer();

		while ((inputLine = in.readLine()) != null) {

		// print result (Return unkonwn zoom web page)
	} else {
		System.out.println("GET request not worked");


web page text
We’re sorry but oauth-login doesn’t work properly without JavaScript enabled. Please enable it to continue.

Hi @sikhaooapp,

Thanks for sharing the error you’re running into. Can you ensure that JavaScript is enabled on your browser? To enable JavaScript in Chrome:


I want to integrate Zoom api on server side. And i’m hit zoom URL from server side on Apache Tomcat to generate token. Than how can i enable javascript on tomcat server

Hi @sikhaooapp,

Ah I see, thank you for clarifying that you’re running into this error on your server.

It sounds like this might be an issue with your server configuration. Can you ensure that you have CORS policies allowed? While this is a thread for vue.js, it sounds like you could be running into a similar issue:

Let me know if this helps,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.