{"id":19450146,"url":"https://github.com/webexsamples/webex-auth-sample","last_synced_at":"2025-07-01T22:06:10.937Z","repository":{"id":89281340,"uuid":"45957889","full_name":"WebexSamples/webex-auth-sample","owner":"WebexSamples","description":"A simple application demonstrating retrieving a Cisco Common Identity OAuth token for use with Webex API","archived":false,"fork":false,"pushed_at":"2024-05-07T15:23:32.000Z","size":98,"stargazers_count":26,"open_issues_count":0,"forks_count":31,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-02-25T09:21:15.271Z","etag":null,"topics":["oauth","oauth2"],"latest_commit_sha":null,"homepage":"https://webexsamples.github.io/webex-auth-sample/webex-auth.html","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebexSamples.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-11-11T03:36:59.000Z","updated_at":"2024-05-07T15:23:32.000Z","dependencies_parsed_at":"2024-05-07T16:51:20.961Z","dependency_job_id":null,"html_url":"https://github.com/WebexSamples/webex-auth-sample","commit_stats":null,"previous_names":["webexsamples/webex-auth-sample","ciscodevnet/webex-teams-auth-sample"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/WebexSamples/webex-auth-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebexSamples%2Fwebex-auth-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebexSamples%2Fwebex-auth-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebexSamples%2Fwebex-auth-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebexSamples%2Fwebex-auth-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebexSamples","download_url":"https://codeload.github.com/WebexSamples/webex-auth-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebexSamples%2Fwebex-auth-sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263042357,"owners_count":23404459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["oauth","oauth2"],"created_at":"2024-11-10T16:35:28.197Z","updated_at":"2025-07-01T22:06:10.795Z","avatar_url":"https://github.com/WebexSamples.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webex-auth-sample\n\n## Description\n\nA simple application demonstrating how to retrieve a Cisco Webex OAuth2 token for use with the Cisco Webex APIs.\n\n  - **Technology stack**: HTML/JavaScript\n\n  - **Status**:  v1.0 [CHANGELOG](CHANGELOG.md)\n\n## Demo\n\nA live demo of the project can be viewed on GitHub. Please follow the link below:\n\n- [Webex Auth Sample Live Demo](https://webexsamples.github.io/webex-auth-sample/webex-auth.html)\n\nTo test this with a live integration, make sure to add `https://webexsamples.github.io/webex-auth-sample/webex-auth.html` to your redirect URIs on the [Developer Portal](https://developer.webex.com/my-apps).\n\n## Installation\n\n* From a terminal, clone this repo to your local PC:\n\n    ```bash\n    git clone https://github.com/WebexSamples/webex-auth-sample.git\n    ```\n\n* The HTML page must be served from a web server (not just opened from the local file system).  \n\n    If you have Node.js and NPM v5.2+, you can run the following from the root of this repo to start a simple web server serving everything in the current directory:\n\n    ```bash\n    cd webex-auth-sample\n    npx http-server\n    ```\n\n    ```bash\n    #Example response\n    npx: installed 23 in 3.334s\n    Starting up http-server, serving ./\n    Available on:\n    http://127.0.0.1:8080\n    http://10.99.58.21:8080\n    http://172.16.255.1:8080\n    http://192.168.52.1:8080\n    Hit CTRL-C to stop the server\n    ```\n\n## Usage\n\n- Register a Webex 'integration' application at [https://developer.webex.com/my-apps](https://developer.webex.com/my-apps)\n\n- The **Redirect URI** provided during registration should be the URL where this sample app page will be hosted, which can be a 'localhost' URL, e.g.:\n\n    ```\n    http://127.0.0.1:8080/webex-auth.html\n    ```\n\n- **Scopes** should include, at minimum, `spark:rooms_read` (note `spark:all` will not work)\n\n- The application **Client ID** and **Client Secret** generated during registration are required to run the app - the secret will only be displayed once.  Make a note of these two values to run the sample\n\n## Getting help\n\n* Webex developer support: [https://developer.webex.com/support](https://developer.webex.com/support)\n\n## Getting involved\n\nSuggestions and enhancements welcome, see [CONTRIBUTING](CONTRIBUTING.md).\n\n----\n\n## Open source licensing info\n[LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebexsamples%2Fwebex-auth-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebexsamples%2Fwebex-auth-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebexsamples%2Fwebex-auth-sample/lists"}