{"id":22268130,"url":"https://github.com/curityio/elixir-client-demo","last_synced_at":"2025-03-25T14:45:17.012Z","repository":{"id":74437458,"uuid":"355316870","full_name":"curityio/elixir-client-demo","owner":"curityio","description":"A simple Elixir client demo app","archived":false,"fork":false,"pushed_at":"2021-04-08T13:52:17.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-30T13:29:57.907Z","etag":null,"topics":["client-credentials-flow","client-demo","code-example","elixir","oauth2"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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":"2021-04-06T20:08:33.000Z","updated_at":"2023-04-27T11:11:49.000Z","dependencies_parsed_at":"2023-02-26T18:15:52.772Z","dependency_job_id":null,"html_url":"https://github.com/curityio/elixir-client-demo","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%2Felixir-client-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curityio%2Felixir-client-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curityio%2Felixir-client-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curityio%2Felixir-client-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/curityio","download_url":"https://codeload.github.com/curityio/elixir-client-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245485890,"owners_count":20623238,"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":["client-credentials-flow","client-demo","code-example","elixir","oauth2"],"created_at":"2024-12-03T11:11:39.593Z","updated_at":"2025-03-25T14:45:12.001Z","avatar_url":"https://github.com/curityio.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elixir Client Demo App\n\n[![Quality](https://img.shields.io/badge/quality-experiment-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 a very simple app to that tests the Client Credentials Flow in the Curity Identity Server using the [scrogson / oauth2](https://github.com/scrogson/oauth2) client library.\n\n## Running the example\n1. Set configurations in `config/config.exs` to match your deployment of the Curity Identity Server\n2. Run `mix deps.get` to download dependencies\n3. Run `mix test` \n\nThe output on the console should be similar to:\n\n```\nGetting token from Curity using Client Credentials...\n{\n  \"access_token\" =\u003e \"dcde70ab-4a0f-43ef-8d98-d7b36d0ed17a\",\n  \"expires_in\" =\u003e 300,\n  \"scope\" =\u003e \"\",\n  \"token_type\" =\u003e \"bearer\"\n}\n```\n\n## License\n\nThis sample code is licensed under the [Apache v. 2 license](LICENSE).\n\n## Questions\n\nFor questions, contact Curity AB:\n\n\u003e info@curity.io\n\u003e\n\u003e https://curity.io\n\nCopyright (C) 2020 Curity AB.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurityio%2Felixir-client-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurityio%2Felixir-client-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurityio%2Felixir-client-demo/lists"}