Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 752 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 752 Bytes

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