{"id":48819386,"url":"https://github.com/vaadin/vaadin-oauth-example","last_synced_at":"2026-04-14T14:02:23.627Z","repository":{"id":37039985,"uuid":"259640970","full_name":"vaadin/vaadin-oauth-example","owner":"vaadin","description":"OAuth 2 and Google Sign-in for Vaadin","archived":false,"fork":false,"pushed_at":"2026-03-18T07:11:56.000Z","size":4632,"stargazers_count":10,"open_issues_count":5,"forks_count":5,"subscribers_count":16,"default_branch":"v25","last_synced_at":"2026-03-18T22:59:08.424Z","etag":null,"topics":["example","google-login","oauth2","spring-boot","vaadin"],"latest_commit_sha":null,"homepage":"https://vaadin.com/learn/tutorials/google-login","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vaadin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-28T13:12:48.000Z","updated_at":"2026-03-10T14:12:54.000Z","dependencies_parsed_at":"2026-01-28T13:01:52.395Z","dependency_job_id":null,"html_url":"https://github.com/vaadin/vaadin-oauth-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vaadin/vaadin-oauth-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-oauth-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-oauth-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-oauth-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-oauth-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaadin","download_url":"https://codeload.github.com/vaadin/vaadin-oauth-example/tar.gz/refs/heads/v25","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-oauth-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31799411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["example","google-login","oauth2","spring-boot","vaadin"],"created_at":"2026-04-14T14:02:22.986Z","updated_at":"2026-04-14T14:02:23.613Z","avatar_url":"https://github.com/vaadin.png","language":"Java","readme":"# Example app for using the Google OAuth service with Vaadin and Spring Boot\n\nThis is an example project demonstrating how to configure and use the OAuth services provided by Google, i.e. how to enable 'Login with Google' functionality in Vaadin apps.\n\n**NOTE**\nTo run this example, you will need to apply for an API key from Google and add it to the `application.properties` file under `src/main/resources`. Please follow [this tutorial](https://vaadin.com/blog/oauth-2-and-google-sign-in-for-a-vaadin-application) for instructions on how to do that, and more information about how this example works. Depending on how/if you deploy your app a better option can be to pass API key \u0026 secret [as an environment variable](https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.external-config).\n\nFor local testing, you can add `http://localhost:8080` to the `URIs` section and `http://localhost:8080/login/oauth2/code/google` to the `Authorized URIs` section in the Google API dashboard once you have created a key. You will still need an Authorized URL that is not localhost for the API Key to work; these are just for convenience.\n\n## Running the Application\nImport the project to the IDE of your choosing as a Maven project.\n\nRun the application using `mvn spring-boot:run` or by running the `Application` class directly from your IDE.\n\nOpen http://localhost:8080/ in your browser.\n\nIf you want to run the application locally in the production mode, run `mvn spring-boot:run -Pproduction`.\n\n## More Information\n\n- [Vaadin documentation](https://vaadin.com/docs)\n- [Vaadin View-Based Access Control](https://vaadin.com/docs/latest/flow/integrations/spring/view-based-access-control) article in the documentation\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaadin%2Fvaadin-oauth-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaadin%2Fvaadin-oauth-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaadin%2Fvaadin-oauth-example/lists"}