{"id":19773166,"url":"https://github.com/ibm-cloud-security/app-id-sample-js","last_synced_at":"2025-07-01T13:36:42.292Z","repository":{"id":40741397,"uuid":"212422056","full_name":"ibm-cloud-security/app-id-sample-js","owner":"ibm-cloud-security","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-04T04:51:47.000Z","size":765,"stargazers_count":0,"open_issues_count":9,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-01-11T01:12:16.436Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibm-cloud-security.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-10-02T19:15:49.000Z","updated_at":"2021-11-16T17:20:40.000Z","dependencies_parsed_at":"2025-01-11T01:12:05.086Z","dependency_job_id":"79307be1-0ce8-4a5c-953a-da26e14512ed","html_url":"https://github.com/ibm-cloud-security/app-id-sample-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibm-cloud-security%2Fapp-id-sample-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibm-cloud-security%2Fapp-id-sample-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibm-cloud-security%2Fapp-id-sample-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibm-cloud-security%2Fapp-id-sample-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibm-cloud-security","download_url":"https://codeload.github.com/ibm-cloud-security/app-id-sample-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241104151,"owners_count":19910382,"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":[],"created_at":"2024-11-12T05:08:52.277Z","updated_at":"2025-02-28T05:16:31.082Z","avatar_url":"https://github.com/ibm-cloud-security.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JS Sample App\n\nThe IBM Cloud App ID SDK can be used with a Vanilla Javascript App. Read the [official documentation](https://cloud.ibm.com/docs/services/appid?topic=appid-single-page) for information on getting started with IBM Cloud App ID and single-page applications.\n\n## Table of Contents\n- [Getting Started][1]\n- [Running the App Locally][2]\n\n## Getting Started\nBefore you begin, you will need an [IBM Cloud App ID](https://www.ibm.com/cloud/app-id) instance with a `singlepageapp` application created. For more information on how to create a `singlepageapp`, visit the [documentation](https://cloud.ibm.com/docs/services/appid?topic=appid-single-page#create-spa-credentials).\n\nIn the `config.json` file, replace \u003cCLIENT_ID\u003e and \u003cWELL_KNOWN_ENDPOINT\u003e with the `clientId` and `discoveryEndpoint` from the application credentials.\n\n```\n{\n    \"clientId\": \"\u003cCLIENT_ID\u003e\",\n    \"discoveryEndpoint\": \"\u003cWELL_KNOWN_ENDPOINT\u003e\"\n}\n```\n\n## Running the App Locally\nMake sure you have updated the `config.json` with your application credentials.\n1. Run ```npm install```\n2. Start the sample application by running ```npm start```\n\n[1]: #getting-started\n[2]: #running-the-app-locally\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibm-cloud-security%2Fapp-id-sample-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibm-cloud-security%2Fapp-id-sample-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibm-cloud-security%2Fapp-id-sample-js/lists"}