{"id":21915859,"url":"https://github.com/ljpengelen/java-meetup-jwt","last_synced_at":"2026-04-18T04:31:25.192Z","repository":{"id":43845147,"uuid":"70469942","full_name":"ljpengelen/java-meetup-jwt","owner":"ljpengelen","description":"Presentation and demo applications for Java Meetup about JWT","archived":false,"fork":false,"pushed_at":"2024-02-21T06:52:48.000Z","size":558,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-27T09:26:39.174Z","etag":null,"topics":["java","java-8","spring-boot"],"latest_commit_sha":null,"homepage":"https://www.theguild.nl/where-to-put-json-web-tokens-in-2019/","language":"Java","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/ljpengelen.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":"2016-10-10T08:54:38.000Z","updated_at":"2023-01-23T09:56:31.000Z","dependencies_parsed_at":"2022-08-12T10:50:35.230Z","dependency_job_id":null,"html_url":"https://github.com/ljpengelen/java-meetup-jwt","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/ljpengelen%2Fjava-meetup-jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljpengelen%2Fjava-meetup-jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljpengelen%2Fjava-meetup-jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljpengelen%2Fjava-meetup-jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ljpengelen","download_url":"https://codeload.github.com/ljpengelen/java-meetup-jwt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244936655,"owners_count":20535049,"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":["java","java-8","spring-boot"],"created_at":"2024-11-28T19:14:34.528Z","updated_at":"2026-04-18T04:31:20.166Z","avatar_url":"https://github.com/ljpengelen.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java meetup - JWT\n\nPresentation and demo applications for a Java meetup about JWTs.\nTo run these applications, you need Docker and Docker Compose.\n\n## Session-based authentication\n\nExecute `docker-compose -f docker-compose-session.yaml build` to build the images for the session-based version of the application and `docker-compose -f docker-compose-session.yaml up` to run it.\nOnce the app is running, it is accessible via http://localhost:8000.\n\n## JWT-based authentication\n\nExecute `docker-compose -f docker-compose-jwt.yaml build` to build the images for the session-based version of the application and `docker-compose -f docker-compose-jwt.yaml up` to run it.\nOnce the app is running, it is accessible via http://localhost:8000.\n\nDue to the use of the `__Host-` prefix for a particular cookie, this app doesn't work over HTTP in Chrome and Firefox.\nThe details are described in this blog post: https://www.theguild.nl/where-to-put-json-web-tokens-in-2019/.\nThe app works fine in Safari, however, and probably works in Edge and Internet Explorer as well.\nIf you want to see the app in action in Chrome and Firefox too, you'll have to use something like [mkcert](https://github.com/FiloSottile/mkcert) to set up HTTPS locally.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fljpengelen%2Fjava-meetup-jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fljpengelen%2Fjava-meetup-jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fljpengelen%2Fjava-meetup-jwt/lists"}