Skip to content

Instantly share code, notes, and snippets.

View ds00424's full-sized avatar

David S ds00424

View GitHub Profile
@ds00424
ds00424 / rcOauthCallbackEx.html
Last active February 16, 2022 17:24
RingCentral OAuth2 PKCE Top Frame Setup
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>3-legged OAuth Redirect Handler</title>
</head>
<body>
<script type="text/javascript" src="https://unpkg.com/@ringcentral/sdk@latest/dist/ringcentral.min.js"></script>
<script>
// Here we implement the RingCentral OAuth2 PKCE login using the Top Frame Setup as described on: