{"id":19656140,"url":"https://github.com/daggerok/yet-another-oauth-spring-security-example","last_synced_at":"2025-02-27T02:18:46.117Z","repository":{"id":151042210,"uuid":"241960473","full_name":"daggerok/yet-another-oauth-spring-security-example","owner":"daggerok","description":"Status: IN PROGRESS (auth-server)","archived":false,"fork":false,"pushed_at":"2020-02-21T04:28:29.000Z","size":65,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T00:37:15.953Z","etag":null,"topics":["spring-security-jwt","spring-security-oauth","spring-security-oauth2"],"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/daggerok.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-02-20T18:33:03.000Z","updated_at":"2020-02-21T04:28:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec4ff6ac-054d-45c5-8c72-a088fa7a1f6b","html_url":"https://github.com/daggerok/yet-another-oauth-spring-security-example","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/daggerok%2Fyet-another-oauth-spring-security-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fyet-another-oauth-spring-security-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fyet-another-oauth-spring-security-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fyet-another-oauth-spring-security-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daggerok","download_url":"https://codeload.github.com/daggerok/yet-another-oauth-spring-security-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240964465,"owners_count":19885749,"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":["spring-security-jwt","spring-security-oauth","spring-security-oauth2"],"created_at":"2024-11-11T15:26:36.214Z","updated_at":"2025-02-27T02:18:46.091Z","avatar_url":"https://github.com/daggerok.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# сисюрити... [![CI](https://github.com/daggerok/yet-another-oauth-spring-security-example/workflows/CI/badge.svg)](https://github.com/daggerok/yet-another-oauth-spring-security-example/actions)\noauth2 client and auth-server\n\nStatus: IN PROGRESS (oauth2-auth-server)\n\n```bash\nrm -rf oauth2-auth-server/src/main/resources/.oauth2.keystore\nkeytool -genkey -noprompt -alias oauth2-app -storetype PKCS12 -keyalg RSA -keysize 4096 -validity 3650 \\\n  -dname \"CN=oauth2-auth-server-127-0-0-1.nip.io, OU=TEST, O=DAGGEROK, L=Odessa, S=OD, C=UA\" \\\n  -storepass .oauth2.keystore.password -keypass .oauth2.keystore.password \\\n  -keystore oauth2-auth-server/src/main/resources/.oauth2.keystore\n\n./mvnw clean resources:resources package\njava -jar oauth2-auth-server/target/*.jar \u0026\njava -jar oauth2-client/target/*.jar \u0026\n\n# wait for ports: 8000, 8080\n```\n\n* open in your browser: http://127.0.0.1:8080/\n* it will redirect you to: http://oauth2-auth-server-127-0-0-1.nip.io:8000/login\n* enter `max / passwd` as `login / password`\n* it will redirect you back to http://127.0.0.1:8080/oauth/authorize\n* click Approve ....and that shit doesn't work...\n\n## resources\n\n* https://www.youtube.com/watch?v=gSUeGi4sLlA\n* https://www.youtube.com/watch?v=EoK5a99Bmjc\n* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html)\n* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.2.4.RELEASE/maven-plugin/)\n* [Spring Security](https://docs.spring.io/spring-boot/docs/2.2.4.RELEASE/reference/htmlsingle/#boot-features-security)\n* [OAuth2 Resource Server](https://docs.spring.io/spring-boot/docs/2.2.4.RELEASE/reference/htmlsingle/#boot-features-security-oauth2-server)\n* [Securing a Web Application](https://spring.io/guides/gs/securing-web/)\n* [Spring Boot and OAuth2](https://spring.io/guides/tutorials/spring-boot-oauth2/)\n* [Authenticating a User with LDAP](https://spring.io/guides/gs/authenticating-ldap/)\n* [Spring Web](https://docs.spring.io/spring-boot/docs/2.2.4.RELEASE/reference/htmlsingle/#boot-features-developing-web-applications)\n* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/)\n* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/)\n* [Building REST services with Spring](https://spring.io/guides/tutorials/bookmarks/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fyet-another-oauth-spring-security-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaggerok%2Fyet-another-oauth-spring-security-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fyet-another-oauth-spring-security-example/lists"}