{"id":22387314,"url":"https://github.com/parths049/spring-oauth2","last_synced_at":"2026-05-09T03:34:19.594Z","repository":{"id":89881572,"uuid":"212542781","full_name":"parths049/spring-oauth2","owner":"parths049","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-20T18:32:51.000Z","size":14,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-12T00:27:22.012Z","etag":null,"topics":["java","oauth2","spring","spring-boot","spring-security-oauth2"],"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/parths049.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":"2019-10-03T09:33:19.000Z","updated_at":"2020-06-14T05:48:18.000Z","dependencies_parsed_at":"2025-03-26T21:13:39.054Z","dependency_job_id":"22d79cf1-745f-4b3f-90f2-3ce404556439","html_url":"https://github.com/parths049/spring-oauth2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/parths049/spring-oauth2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parths049%2Fspring-oauth2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parths049%2Fspring-oauth2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parths049%2Fspring-oauth2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parths049%2Fspring-oauth2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parths049","download_url":"https://codeload.github.com/parths049/spring-oauth2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parths049%2Fspring-oauth2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32806009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["java","oauth2","spring","spring-boot","spring-security-oauth2"],"created_at":"2024-12-05T02:08:36.644Z","updated_at":"2026-05-09T03:34:19.590Z","avatar_url":"https://github.com/parths049.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"* Create database in mysql :-\n\tdatabase name - poc\n\t\n* Run spring boot project :-\n\topen project folder in terminal \u003e execute run command \u003e clean install spring-boot:run\n\t\n* Open swagger in browser with this below url and click on \"Try it out\" button for admin sign up in mysql database :-\n\thttp://localhost:8080/swagger-ui.html#!/account/adminSignUpUsingPOST\n\n* Open postman for call oauth2 login api \n\tselect method \u003e POST\n\tpaste this url \u003e http://localhost:8080/oauth/token\n\tIn authorization select \"Basic Auth\" \u003e username = client \u003e password = secret \n\t\u003e after that click on right side button \"Update Request\"\n\t\u003e click on Body in title bar \u003e select \"x-www-form-urlencoded\"\n\t\u003e\t\tkey     :      value\n\t\tusername\t:\t adminstrator@poc.io\n\t\tpassword\t:\t123456\n\t\tgrant_type\t:\tpassword\n\t\u003e after that click on button \"Send\".\n\t\n* So you can get \"access_token\" and \"refresh_token\" in that response.\n\n* Now you can also login with using refresh_token in request. Follow below step to login with refresh_token.\n\tselect method \u003e POST\n\tpaste this url \u003e http://localhost:8080/oauth/token\n\tIn authorization select \"Basic Auth\" \u003e username = client \u003e password = secret \n\t\u003e after that click on right side button \"Update Request\"\n\t\u003e click on Body in title bar \u003e select \"x-www-form-urlencoded\"\n\t\u003e\t\tkey     \t:      value\n\t\tgrant_type\t\t:\trefresh_token\n\t\tclient_id\t\t:\tclient\n\t\trefresh_token\t:\tcopy and paste refresh_token u get in above request.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparths049%2Fspring-oauth2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparths049%2Fspring-oauth2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparths049%2Fspring-oauth2/lists"}