{"id":13623013,"url":"https://github.com/geeksven-dev/insomnia-plugin-cognito-auth","last_synced_at":"2025-04-15T10:32:15.765Z","repository":{"id":51752035,"uuid":"202501619","full_name":"geeksven-dev/insomnia-plugin-cognito-auth","owner":"geeksven-dev","description":"a simple env based insomnia plugin for cognito authentication","archived":false,"fork":false,"pushed_at":"2021-05-10T08:00:19.000Z","size":8,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-01T21:55:52.189Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/geeksven-dev.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}},"created_at":"2019-08-15T08:14:22.000Z","updated_at":"2020-03-24T10:11:44.000Z","dependencies_parsed_at":"2022-08-23T05:10:32.699Z","dependency_job_id":null,"html_url":"https://github.com/geeksven-dev/insomnia-plugin-cognito-auth","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/geeksven-dev%2Finsomnia-plugin-cognito-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksven-dev%2Finsomnia-plugin-cognito-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksven-dev%2Finsomnia-plugin-cognito-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geeksven-dev%2Finsomnia-plugin-cognito-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geeksven-dev","download_url":"https://codeload.github.com/geeksven-dev/insomnia-plugin-cognito-auth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223668638,"owners_count":17182959,"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-08-01T21:01:26.980Z","updated_at":"2024-11-08T10:31:37.603Z","avatar_url":"https://github.com/geeksven-dev.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"### Setup\n#### Files\nJust put this src in your insomnia plugin folder and create a subfolder named as you like (e.g. 'cognito-auth') located at \n`~/Library/Application Support/Insomnia/plugins`\n\n#### Environment\nCreate an environment in Insomnia and add the following params:\n```\n\"username\": \"\u003cusername\u003e\",\n\"password\": \"\u003cpassword\u003e\",\n\"userPoolId\": \"\u003cuser_pool_id\u003e\",\n\"clientId\": \"\u003cclient_id\u003e\",\n\"host\": \"\u003chost\u003e\",\n\"intercept_auth\": true\n```\n### How it works\nOn each request the plugin will intercept the execution and lookup for existing `accessToken` and `identityToken`in the \ncontext store. If there is none that can be used a cognito authentication will be triggered via aws-amplify. On success \nthe header will be set.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeeksven-dev%2Finsomnia-plugin-cognito-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeeksven-dev%2Finsomnia-plugin-cognito-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeeksven-dev%2Finsomnia-plugin-cognito-auth/lists"}