Giter Site home page Giter Site logo

pc_status_timer's Introduction

Genesys Cloud / PureCloud Status Timer

A web page that shows the current logged in users status and the time they have been in that status.

screenshot1

screenshot2

Running the app

Prerequisites

  • A React dev environment
    • You'll want to configure the .env file with the Oauth client id you generate in PureCloud
  • A secure web server
    • Once you create a build, you can upload the code to AWS S3 and then create a cloudfront distribution for the bucket if you don't have a web server or want to get this up quickly.
  • A Genesys Cloud / PureCloud Org
    • You'll need to generate an Oauth app with a grant type of token implicit grant. Refer to the Resource Center on how to configure this. You'll need to add the web server URL in the Authorized Redirect URIs field.
    • You can embed this as an app in PureCloud by adding an integration of the type Custom Client Application. Refer to the Resource Center for instructions on setting this up.

Setup

  1. Clone this repo locally
  2. Create an Oauth app with the Token Implicit Grant type
  3. Replace clientId in code or modify the .env file to include the oauth client id you create for testing and build with SET REACT_APP_PURECLOUD_CLIENT_ID=00000000-0000-0000-0000-000000000000&&npm run build
  4. Build and Deploy to a web server
  5. Create a Custom Client Integration with the URL of the web server
  6. Update the Oauth app with the URL as an Authorized Redirect URI
  7. Configure the Custom Client Integration Group Filtering to determine who has access

Using the app

  1. View your status

Troubleshooting

  1. If the app is not working properly, press the refresh button
  2. If the timer shows a negative time or appears to be off by more than a few seconds, ensure your computers time is correct

pc_status_timer's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.