Skip to content

A very simple same app to demonstrate using OAuth and Resource Indicators with the RingCentral Events API.

Notifications You must be signed in to change notification settings

hopin-team/rce-external-api-oauth-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RingCentral Events API - OAuth Example

This very small app demonstrates a simple OAuth authentication flow for RingCentral Events, allowing calling apps to access the API.

Installing

This is a ruby 3.0 app, which you'll need to install. If you use asdf then activating this plugin should install the correct version.

bundle

Running

Run the script with the following environment variables set:

  • RCE_CALLBACK_URL
  • RCE_APP_ID
  • RCE_APP_SECRET
RCE_CALLBACK_URL=http://localhost:3000/auth/callback RCE_APP_ID={your client id} RCE_APP_SECRET={your app secret} bundle exec rackup -p3000

Thanks

Examples borrowed from https://github.com/assembly-edu/oauth-sample-sinatra

About

A very simple same app to demonstrate using OAuth and Resource Indicators with the RingCentral Events API.

Resources

Stars

Watchers

Forks