{"id":13537800,"url":"https://github.com/davidgf/serverless-cognito","last_synced_at":"2025-04-09T02:24:11.485Z","repository":{"id":43325421,"uuid":"170907175","full_name":"davidgf/serverless-cognito","owner":"davidgf","description":"Example of how you can integrate Cognito User Pools in your Serverless service","archived":false,"fork":false,"pushed_at":"2022-12-22T09:45:40.000Z","size":86,"stargazers_count":64,"open_issues_count":7,"forks_count":21,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-14T20:45:17.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://medium.com/@Da_vidgf/using-cognito-for-users-management-in-your-serverless-application-1695fec9e225","language":"HTML","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/davidgf.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-02-15T18:02:21.000Z","updated_at":"2023-01-31T11:56:28.000Z","dependencies_parsed_at":"2023-01-30T06:45:34.657Z","dependency_job_id":null,"html_url":"https://github.com/davidgf/serverless-cognito","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/davidgf%2Fserverless-cognito","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidgf%2Fserverless-cognito/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidgf%2Fserverless-cognito/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidgf%2Fserverless-cognito/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidgf","download_url":"https://codeload.github.com/davidgf/serverless-cognito/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247963562,"owners_count":21025043,"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-01T09:01:03.819Z","updated_at":"2025-04-09T02:24:11.462Z","avatar_url":"https://github.com/davidgf.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# Serverless Cognito\n\n## Setup\n\n1. `serverless deploy`\n\nBesides deploying the service, we need to manually configure some details, since CloudFormation falls short. So, in the Cognito Dashboard, select the User Pool and follow the steps below:\n\n1. Select \"App client settings\", enable Cognito User Pool as a provider and enter the callback and sign out URLs. Select \"Implicit grant\" as allowed OAuth flow and tick all the scopes\n2. Select \"Domain name\" and create one\n\n## Usage\n\n1. Open a web browser and go to `https://\u003cyour_domain\u003e/login?response_type=token\u0026client_id=\u003cyour_app_client_id\u003e\u0026redirect_uri=\u003cyour_callback_url\u003e`\n2. After loging in successfully, you'll be redirected to your calback URL with `id_token` in the query string\n3. Put `id_token`  in the `Authorization` HTTP header when submitting requests to the API\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidgf%2Fserverless-cognito","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidgf%2Fserverless-cognito","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidgf%2Fserverless-cognito/lists"}