{"id":22268087,"url":"https://github.com/curityio/gatsby-assisted-token","last_synced_at":"2026-01-28T04:05:03.492Z","repository":{"id":37106386,"uuid":"252470906","full_name":"curityio/gatsby-assisted-token","owner":"curityio","description":"Assisted token flow with React Context and Gatsby CLI","archived":false,"fork":false,"pushed_at":"2024-11-07T09:10:22.000Z","size":8151,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-07T09:32:53.900Z","etag":null,"topics":["assisted-token","code-example","oauth2","openid-connect","spa"],"latest_commit_sha":null,"homepage":"https://curity.io/resources/learn/javascript-assisted-token-sample/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/curityio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2020-04-02T13:58:38.000Z","updated_at":"2024-11-07T09:10:18.000Z","dependencies_parsed_at":"2024-11-07T09:25:29.291Z","dependency_job_id":"6bb4face-398b-4393-b0fc-14ccb1c05b38","html_url":"https://github.com/curityio/gatsby-assisted-token","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/curityio%2Fgatsby-assisted-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curityio%2Fgatsby-assisted-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curityio%2Fgatsby-assisted-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curityio%2Fgatsby-assisted-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/curityio","download_url":"https://codeload.github.com/curityio/gatsby-assisted-token/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227905532,"owners_count":17837906,"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":["assisted-token","code-example","oauth2","openid-connect","spa"],"created_at":"2024-12-03T11:11:02.462Z","updated_at":"2026-01-28T04:05:03.443Z","avatar_url":"https://github.com/curityio.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gatsby/React Assisted Token Example\n\n[![Quality](https://img.shields.io/badge/quality-demo-red)](https://curity.io/resources/code-examples/status/)\n[![Availability](https://img.shields.io/badge/availability-source-blue)](https://curity.io/resources/code-examples/status/)\n\nThis is an example based on https://github.com/curityio/react-assisted-token-website . It demonstrates the use of the Assisted Token Library together GATSBY CLI and the React Context API.\n\nTo run in development mode:\n`gatsby develop -S`\n\nConfigure the client settings in `index.js`\n\n## Client Config\nThe example uses a client with the following config:\n\n```\n\u003cconfig xmlns=\"http://tail-f.com/ns/config/1.0\"\u003e\n  \u003cprofiles xmlns=\"https://curity.se/ns/conf/base\"\u003e\n  \u003cprofile\u003e\n    \u003cid\u003etoken-service\u003c/id\u003e\n    \u003ctype xmlns:as=\"https://curity.se/ns/conf/profile/oauth\"\u003eas:oauth-service\u003c/type\u003e\n      \u003csettings\u003e\n      \u003cauthorization-server xmlns=\"https://curity.se/ns/conf/profile/oauth\"\u003e\n      \u003cclient-store\u003e\n      \u003cconfig-backed\u003e\n      \u003cclient\u003e\n        \u003cid\u003eassisted-token-example\u003c/id\u003e\n        \u003cscope\u003eread\u003c/scope\u003e\n        \u003callowed-origins\u003ehttps://localhost:8000\u003c/allowed-origins\u003e\n        \u003ccapabilities\u003e\n          \u003cassisted-token/\u003e\n        \u003c/capabilities\u003e\n      \u003c/client\u003e\n      \u003c/config-backed\u003e\n      \u003c/client-store\u003e\n      \u003c/authorization-server\u003e\n      \u003c/settings\u003e\n  \u003c/profile\u003e\n  \u003c/profiles\u003e\n\u003c/config\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurityio%2Fgatsby-assisted-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurityio%2Fgatsby-assisted-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurityio%2Fgatsby-assisted-token/lists"}