{"id":25720054,"url":"https://github.com/gregwhitaker/ratpack-openidconnect-example","last_synced_at":"2026-06-15T11:32:24.067Z","repository":{"id":82732606,"uuid":"121192257","full_name":"gregwhitaker/ratpack-openidconnect-example","owner":"gregwhitaker","description":"Example of using OpenID Connect to authenticate with Ratpack","archived":false,"fork":false,"pushed_at":"2018-02-14T04:15:12.000Z","size":86,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T17:41:28.917Z","etag":null,"topics":["google-authentication","openid-connect","ratpack","rest-api"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregwhitaker.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":"2018-02-12T02:51:30.000Z","updated_at":"2019-01-10T11:02:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"a69b0d0c-1435-4acf-9d23-8b21163fd446","html_url":"https://github.com/gregwhitaker/ratpack-openidconnect-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gregwhitaker/ratpack-openidconnect-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fratpack-openidconnect-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fratpack-openidconnect-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fratpack-openidconnect-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fratpack-openidconnect-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregwhitaker","download_url":"https://codeload.github.com/gregwhitaker/ratpack-openidconnect-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fratpack-openidconnect-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34358747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["google-authentication","openid-connect","ratpack","rest-api"],"created_at":"2025-02-25T17:36:26.024Z","updated_at":"2026-06-15T11:32:24.057Z","avatar_url":"https://github.com/gregwhitaker.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ratpack-openidconnect-example\n[![Build Status](https://travis-ci.org/gregwhitaker/ratpack-openidconnect-example.svg?branch=master)](https://travis-ci.org/gregwhitaker/ratpack-openidconnect-example)\n\nAn example of using Google as an [OpenID Connect](http://openid.net/connect/) provider to authenticate with [Ratpack](http://www.ratpack.io).\n\n## Prerequisites\nThis example requires that you configure a Google API resource before running.\n\n1. Open the [Google API Credentials Console](https://console.developers.google.com/projectselector/apis/credentials?supportedpurview=project\u0026angularJsUrl=%2Fprojectselector%2Fapis%2Fcredentials%3Fsupportedpurview%3Dproject\u0026authuser=2)\n\n2. Select `Create` in the dialog box to create a new API project.\n\n3. Give the project a name.\n\n4. In the `Create credentials` dropdown select `OAuth client ID`.\n\n5. Follow the prompts for creating a client id.\n\n6. When prompted for Application Type select `Web Application`\n\n7. In the `Authorized redirect URIs` add: `http://localhost:5050/authenticator?client_name=GoogleOidcClient`\n\n8. Click the `Create` button.\n\n9. Copy the newly created client id and client secret for use in the example.\n\n## Running the Example\nThe example can be run using the following Gradle command:\n\n    $ RATPACK_AUTH__CLIENT_ID={client id} RATPACK_AUTH__CLIENT_SECRET={client secret} ./gradlew run\n\nOnce the application has started, point your web browser to [http://localhost:5050](http://localhost:5050) to access the test page.\n\n## Bugs and Feedback\nFor bugs, questions and discussions please use the [Github Issues](https://github.com/gregwhitaker/ratpack-openidconnect-example/issues).\n\n## License\nMIT License\n\nCopyright (c) 2018 Greg Whitaker\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregwhitaker%2Fratpack-openidconnect-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregwhitaker%2Fratpack-openidconnect-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregwhitaker%2Fratpack-openidconnect-example/lists"}