{"id":20227699,"url":"https://github.com/panga/auth0-javaee-security-sample","last_synced_at":"2025-04-10T17:24:57.457Z","repository":{"id":70366626,"uuid":"143469978","full_name":"panga/auth0-javaee-security-sample","owner":"panga","description":"Auth0 JavaEE Security API (JSR-375) Sample","archived":false,"fork":false,"pushed_at":"2018-08-03T20:21:54.000Z","size":164,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T15:04:00.802Z","etag":null,"topics":["auth0","javaee-security","jsr375","jwt","soteria"],"latest_commit_sha":null,"homepage":"","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/panga.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":"2018-08-03T20:20:23.000Z","updated_at":"2021-02-25T12:33:05.000Z","dependencies_parsed_at":"2023-02-26T12:31:26.414Z","dependency_job_id":null,"html_url":"https://github.com/panga/auth0-javaee-security-sample","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/panga%2Fauth0-javaee-security-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panga%2Fauth0-javaee-security-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panga%2Fauth0-javaee-security-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panga%2Fauth0-javaee-security-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/panga","download_url":"https://codeload.github.com/panga/auth0-javaee-security-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248261967,"owners_count":21074229,"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":["auth0","javaee-security","jsr375","jwt","soteria"],"created_at":"2024-11-14T07:26:09.751Z","updated_at":"2025-04-10T17:24:57.450Z","avatar_url":"https://github.com/panga.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auth0 JavaEE Security Sample\n\n## Getting started\n\nThis sample demonstrates how to use Auth0 with [JavaEE 8 Security API](https://javaee.github.io/security-spec/spec/jsr375-spec.html) to perform authentication using the `mvc-auth-commons` library. Download or clone this repository and follow the instructions below to setup the sample.\n\n### Auth0 Dashboard\n1. On the [Auth0 Dashboard](https://manage.auth0.com/#/clients) create a new Client of type `Regular Web Application`. \n1. Add the URL that will be called on an OAuth successful login to the Allowed Callback URLs. i.e.: `https://mysite.com/callback`.\n1. Add the URL that will be called on logout to the Allowed Logout URLs. i.e.: `https://mysite.com/logout`.\n1. Copy the `Domain`, `Client ID` and `Client Secret` values at the top of the page and use them to configure the Java Application.\n\n### Java Application\nSet the client values in the `src/main/resources/project-defaults.yml` file.\n\n### Running the sample\n\nOpen a terminal, go to the project root directory and run the following command:\n\n```bash\n./mvnw thorntail:run\n```\n\nThe server will be accessible on http://localhost:3000/. After logging in you should see the `userId` in the header.\n\n## Running the sample as standalone jar\n\n```bash\n./mvnw clean package\njava -jar target/auth0-javaee-security-thorntail.jar\n```\n\n## Issue Reporting\n\nIf you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.\n\n## What is Auth0?\n\nAuth0 helps you to:\n\n* Add authentication with [multiple authentication sources](https://docs.auth0.com/identityproviders), either social like **Google, Facebook, Microsoft Account, LinkedIn, GitHub, Twitter, Box, Salesforce, amont others**, or enterprise identity systems like **Windows Azure AD, Google Apps, Active Directory, ADFS or any SAML Identity Provider**.\n* Add authentication through more traditional **[username/password databases](https://docs.auth0.com/mysql-connection-tutorial)**.\n* Add support for **[linking different user accounts](https://docs.auth0.com/link-accounts)** with the same user.\n* Support for generating signed [Json Web Tokens](https://docs.auth0.com/jwt) to call your APIs and **flow the user identity** securely.\n* Analytics of how, when and where users are logging in.\n* Pull data from other sources and add it to the user profile, through [JavaScript rules](https://docs.auth0.com/rules).\n\n## Create a free account in Auth0\n\n1. Go to [Auth0](https://auth0.com) and click Sign Up.\n2. Use Google, GitHub or Microsoft Account to login.\n\n## Issue Reporting\n\nIf you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.\n\n## Author\n\n[Auth0](https://auth0.com)\n\n## License\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE.txt) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanga%2Fauth0-javaee-security-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpanga%2Fauth0-javaee-security-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanga%2Fauth0-javaee-security-sample/lists"}