Hi, I am new to the zoom integration, and after going through the document of authentication methods I am still confused. So our company is trying to integrate zoom meetings to our website zoom API.
I have Used OAuth Authentication for getting access_token with grand_type as authorization_code. But for this, I need to get code instantly for each call. How can I obtain code for each API call ? Is there any portion i went wring
public function getBearerToken(){
$clientID=“YEKb5hW_T6mVzHd7wpxqw”;
$clientSecret="*******************";
$code=“F0z6nzgLCu_EmFIrUhBTpumQCipK9MXfA”;
$content = “grant_type=authorization_code&code=$code&redirect_uri=https://www.tutorsvalley.com/payment_success.php”;
$token_url=“https://zoom.us/oauth/token”;
The oauth tokens are painful. Since the refresh token changes on each new access token generation, it has to be stored somewhere and updated on each new access token generation.
This creates complexity. I wish there was one constant value in oauth process, which can be used to request new access tokens. From security point of view, if compromised, refresh token or any constant, have the same risk.