{"id":22702013,"url":"https://github.com/elegantchaos/vapor4webauthentication","last_synced_at":"2025-04-12T09:41:29.804Z","repository":{"id":138441101,"uuid":"259641957","full_name":"elegantchaos/Vapor4WebAuthentication","owner":"elegantchaos","description":"An example of session-based authentication using Vapor 4 for a website.","archived":false,"fork":false,"pushed_at":"2021-04-26T11:54:26.000Z","size":70,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-26T04:41:20.260Z","etag":null,"topics":["sessions","swift","vapor-4","web-template"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/elegantchaos.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":"2020-04-28T13:16:55.000Z","updated_at":"2024-01-23T19:32:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f60d547-b6e0-47a3-8b10-88c11420c779","html_url":"https://github.com/elegantchaos/Vapor4WebAuthentication","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/elegantchaos%2FVapor4WebAuthentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elegantchaos%2FVapor4WebAuthentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elegantchaos%2FVapor4WebAuthentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elegantchaos%2FVapor4WebAuthentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elegantchaos","download_url":"https://codeload.github.com/elegantchaos/Vapor4WebAuthentication/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248549253,"owners_count":21122860,"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":["sessions","swift","vapor-4","web-template"],"created_at":"2024-12-10T07:11:44.426Z","updated_at":"2025-04-12T09:41:29.777Z","avatar_url":"https://github.com/elegantchaos.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vapor4 Session-Based Authentication for Websites\n\nWhen I set out to play with Vapor, what I was looking for was a nice example of how to do authentication, for a website and not an API, using Vapor 4.0.\n\nThis proved to be hard to find, as Vapor 4 is quite new!\n\nThere are lots of Vapor 3 examples, but the API has changed quite a bit. Certainly enough to confuse a noob like me.\n\nThere are a few Vapor 4 examples, but they focus exclusively on token-based authentication for APIs. Transferrable to some extent, but again, confusing for a noob. \n\nThe contents of this repo are the results of me trying to piece together the bits of the puzzle.\n\nDisclaimer:\n\nI am not a web developer or a Vapor expert, nor do I play one on TV. I may have this stuff backwards. If so, please let me know why.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felegantchaos%2Fvapor4webauthentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felegantchaos%2Fvapor4webauthentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felegantchaos%2Fvapor4webauthentication/lists"}