{"id":18672576,"url":"https://github.com/dimmaryanto93/springboot2-oauth-sso-example","last_synced_at":"2025-11-06T22:30:32.348Z","repository":{"id":107985122,"uuid":"146580529","full_name":"dimMaryanto93/springboot2-oauth-sso-example","owner":"dimMaryanto93","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-30T22:44:27.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T19:42:00.718Z","etag":null,"topics":["authorization-code-grant","authorization-server","oauth2","password-flow","springboot2"],"latest_commit_sha":null,"homepage":null,"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/dimMaryanto93.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-29T09:57:11.000Z","updated_at":"2018-08-30T22:48:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"351c24dd-f4e3-4543-aa14-b7e1590f4af3","html_url":"https://github.com/dimMaryanto93/springboot2-oauth-sso-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/dimMaryanto93%2Fspringboot2-oauth-sso-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimMaryanto93%2Fspringboot2-oauth-sso-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimMaryanto93%2Fspringboot2-oauth-sso-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimMaryanto93%2Fspringboot2-oauth-sso-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimMaryanto93","download_url":"https://codeload.github.com/dimMaryanto93/springboot2-oauth-sso-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239513379,"owners_count":19651322,"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":["authorization-code-grant","authorization-server","oauth2","password-flow","springboot2"],"created_at":"2024-11-07T09:12:08.378Z","updated_at":"2025-11-06T22:30:32.306Z","avatar_url":"https://github.com/dimMaryanto93.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Springboot security Oauth2 - Enabled sso\n\n## Fitur\n\n- Flow grant type authorization code\n\n    - request code: \n\n        ```bash\n        http://localhost:10000/oauth/authorize?grant_type=authorization_code\u0026client_id=client-code\u0026client_secret=123456\u0026response_type=code\u0026redirectUrl=http://localhost:10000\n        ```\n    - request access token:\n    \n        ```bash\n        curl -X POST \\\n          http://localhost:10000/oauth/token \\\n          -H 'Authorization: Basic Y2xpZW50LWNvZGU6MTIzNDU2' \\\n          -H 'Cache-Control: no-cache' \\\n          -H 'Content-Type: application/x-www-form-urlencoded' \\\n          -d 'grant_type=authorization_code\u0026code=BlTYTC'    \n        ```\n\n- Flow grant type password\n\n    ```curl\n    curl -X POST \\\n      http://localhost:10000/oauth/token \\\n      -H 'Authorization: Basic Y2xpZW50LWNvZGU6MTIzNDU2' \\\n      -H 'Cache-Control: no-cache' \\\n      -H 'Content-Type: application/x-www-form-urlencoded' \\\n      -d 'grant_type=password\u0026client_id=client-code\u0026username=user\u0026password=password'\n    ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimmaryanto93%2Fspringboot2-oauth-sso-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimmaryanto93%2Fspringboot2-oauth-sso-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimmaryanto93%2Fspringboot2-oauth-sso-example/lists"}