{"id":20307251,"url":"https://github.com/oktadev/okta-spring-social-example","last_synced_at":"2025-07-04T11:06:12.617Z","repository":{"id":52232936,"uuid":"141493649","full_name":"oktadev/okta-spring-social-example","owner":"oktadev","description":"Social Login with Spring Boot 2.0","archived":false,"fork":false,"pushed_at":"2021-04-16T15:06:02.000Z","size":26644,"stargazers_count":5,"open_issues_count":0,"forks_count":5,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-04-11T15:11:47.726Z","etag":null,"topics":["facebook-login","google-login","social-login","spring-boot","spring-boot-2"],"latest_commit_sha":null,"homepage":"https://developer.okta.com/blog/2018/07/24/social-spring-boot","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oktadev.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}},"created_at":"2018-07-18T21:48:31.000Z","updated_at":"2024-01-08T11:40:58.000Z","dependencies_parsed_at":"2022-09-11T11:00:28.050Z","dependency_job_id":null,"html_url":"https://github.com/oktadev/okta-spring-social-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oktadev/okta-spring-social-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-spring-social-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-spring-social-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-spring-social-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-spring-social-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oktadev","download_url":"https://codeload.github.com/oktadev/okta-spring-social-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-spring-social-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263499193,"owners_count":23476021,"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":["facebook-login","google-login","social-login","spring-boot","spring-boot-2"],"created_at":"2024-11-14T17:16:55.577Z","updated_at":"2025-07-04T11:06:12.598Z","avatar_url":"https://github.com/oktadev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Social Login with Spring Boot 2.0\n \nThis example app shows how to add social login to a Spring Boot app with Okta.\n\nPlease read [Add Social Login to Your Spring Boot 2.0 App](https://developer.okta.com/blog/2018/07/24/social-spring-boot) to see how this app was created.\n\n**Prerequisites:** [Java 11](https://adoptopenjdk.net/) and an [Okta Developer Account](https://developer.okta.com).\n\n\u003e [Okta](https://developer.okta.com/) has Authentication and User Management APIs that reduce development time with instant-on, scalable user infrastructure. Okta's intuitive API and expert support make it easy for developers to authenticate, manage, and secure users and roles in any application.\n\n* [Getting Started](#getting-started)\n* [Links](#links)\n* [Help](#help)\n* [License](#license)\n\n## Getting Started\n\nBefore you begin, you’ll need a free Okta developer account. Install the [Okta CLI](https://cli.okta.com) and run `okta register` to sign up for a new account. If you already have an account, run `okta login`. Then, run `okta apps create`. Select the default app name, or change it as you see fit. Choose **Web** and press **Enter**.\n\nSelect **Other**. Then, change the Redirect URI to `http://localhost:8080/authorization-code/callback` and use `http://localhost:8080` for the Logout Redirect URI.\n\nCopy `src/main/resources/application.template.yml` to `src/main/resources/application.yml` and fill in the necessary information.\n\nSee [these instructions](https://developer.okta.com/blog/2018/07/24/social-spring-boot#configure-google-and-facebook-for-social-login-in-your-spring-boot-app) to complete your social login setup.\n\n## Links\n\nThis example uses the following open source libraries:\n\n* [Okta Sign-In Widget](https://github.com/okta/okta-signin-widget)\n* [Okta Spring Boot Starter](https://github.com/okta/okta-spring-boot)\n* [Spring Boot](https://spring.io/projects/spring-boot)\n* [Spring Security](https://spring.io/projects/spring-security)\n\n## Help\n\nPlease post any questions as comments on the [blog post](https://developer.okta.com/blog/2018/07/24/social-spring-boot), or visit our [Okta Developer Forums](https://devforum.okta.com/). \n\n## License\n\nApache 2.0, see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foktadev%2Fokta-spring-social-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foktadev%2Fokta-spring-social-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foktadev%2Fokta-spring-social-example/lists"}