{"id":14983117,"url":"https://github.com/hantsy/spring-security-auth0-sample","last_synced_at":"2025-10-29T21:30:33.023Z","repository":{"id":39873866,"uuid":"359504976","full_name":"hantsy/spring-security-auth0-sample","owner":"hantsy","description":"Spring Security 5 with OAuth2/OIDC and Auth0 integration example","archived":false,"fork":false,"pushed_at":"2024-10-07T20:23:54.000Z","size":800,"stargazers_count":12,"open_issues_count":3,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-12T02:41:19.676Z","etag":null,"topics":["jwt","oauth2","oidc","spring-security","spring-webflux","spring-webmvc"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hantsy.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-19T15:17:50.000Z","updated_at":"2024-08-27T02:16:41.000Z","dependencies_parsed_at":"2024-03-29T01:38:30.546Z","dependency_job_id":"e758d747-d78e-4f0b-b438-343aaaabb66a","html_url":"https://github.com/hantsy/spring-security-auth0-sample","commit_stats":{"total_commits":127,"total_committers":2,"mean_commits":63.5,"dds":"0.40944881889763785","last_synced_commit":"11ee38350011336e14eaa231ede15602f0ce0ce2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hantsy%2Fspring-security-auth0-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hantsy%2Fspring-security-auth0-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hantsy%2Fspring-security-auth0-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hantsy%2Fspring-security-auth0-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hantsy","download_url":"https://codeload.github.com/hantsy/spring-security-auth0-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238892207,"owners_count":19548149,"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":["jwt","oauth2","oidc","spring-security","spring-webflux","spring-webmvc"],"created_at":"2024-09-24T14:06:45.788Z","updated_at":"2025-10-29T21:30:33.018Z","avatar_url":"https://github.com/hantsy.png","language":"TypeScript","readme":"# Spring Security 6 and Auth0 Integration sample\n\n![build](https://github.com/hantsy/spring-security-auth0-sample/workflows/build/badge.svg)\n\n## What is this?\n\nThis is a sample project that demonstrates how to use the Auth0 IDP service to protect RESTful APIs written in Spring Web MVC.\n\n\u003e If you are interested in the custom JWT authentication with the Spring WebMvc stack, check [spring-webmvc-jwt-sample](https://github.com/hantsy/spring-webmvc-jwt-sample/) for more details.\n\n\u003e If you are interested in the custom JWT authentication with the Spring WebFlux stack, check [spring-reactive-jwt-sample](https://github.com/hantsy/spring-reactive-jwt-sample/) for more details.\n\n## Guide\n\n* [Secures RESTful APIs with Spring Security 5 and Auth0](./docs/api.md)\n\n## Prerequisites\n\nMake sure you have installed the following software:\n\n* Java 17 +\n* Apache Maven 3.x\n* Docker\n\n## Build \n\nClone the source code from GitHub.\n\n```bash\ngit clone https://github.com/hantsy/spring-security-auth0-sample\n```\n\nOpen a terminal, switch to the root folder of the project, and run the following command to build the whole project.\n\n```bash\ndocker-compose up postgres // start up a postgres\nmvn clean install // build the project\n```\n\nRun the application.\n\n```bash\nmvn spring-boot:run\n// or from command line after building\njava -jar target/xxx.jar\n```\n\n\n## Contribution\n\nAny suggestions are welcome, filing an issue or submitting a PR is also highly recommended.  \n\n\n\n## References\n\n* [The Complete Guide to Angular User Authentication with Auth0](https://auth0.com/blog/complete-guide-to-angular-user-authentication/)\n* [Quickstarts: Single-Page App/Angular](https://auth0.com/docs/quickstart/spa/angular)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhantsy%2Fspring-security-auth0-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhantsy%2Fspring-security-auth0-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhantsy%2Fspring-security-auth0-sample/lists"}