A web page that shows the current logged in users status and the time they have been in that status.
- 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.
- Clone this repo locally
- Create an Oauth app with the Token Implicit Grant type
- 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
- Build and Deploy to a web server
- Create a Custom Client Integration with the URL of the web server
- Update the Oauth app with the URL as an Authorized Redirect URI
- Configure the Custom Client Integration Group Filtering to determine who has access
- View your status
- If the app is not working properly, press the refresh button
- If the timer shows a negative time or appears to be off by more than a few seconds, ensure your computers time is correct