{"id":15056826,"url":"https://github.com/rizkimufrizal/oauth2-hmac","last_synced_at":"2025-07-31T14:40:51.031Z","repository":{"id":90435447,"uuid":"112924650","full_name":"RizkiMufrizal/OAuth2-HMAC","owner":"RizkiMufrizal","description":null,"archived":false,"fork":false,"pushed_at":"2017-12-03T12:20:40.000Z","size":92,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T07:45:55.297Z","etag":null,"topics":["apache-cassandra","hateoas","hmac-sha512","jwt","kotlin","oauth2","redis"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/RizkiMufrizal.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":"2017-12-03T12:07:26.000Z","updated_at":"2017-12-03T15:46:13.000Z","dependencies_parsed_at":"2023-03-21T10:32:54.849Z","dependency_job_id":null,"html_url":"https://github.com/RizkiMufrizal/OAuth2-HMAC","commit_stats":{"total_commits":31,"total_committers":2,"mean_commits":15.5,"dds":"0.032258064516129004","last_synced_commit":"c0cb9fcd43c9a01936cb78ca4e0ae38a98705d0c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RizkiMufrizal%2FOAuth2-HMAC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RizkiMufrizal%2FOAuth2-HMAC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RizkiMufrizal%2FOAuth2-HMAC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RizkiMufrizal%2FOAuth2-HMAC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RizkiMufrizal","download_url":"https://codeload.github.com/RizkiMufrizal/OAuth2-HMAC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243544665,"owners_count":20308168,"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":["apache-cassandra","hateoas","hmac-sha512","jwt","kotlin","oauth2","redis"],"created_at":"2024-09-24T21:56:45.084Z","updated_at":"2025-03-14T07:45:58.560Z","avatar_url":"https://github.com/RizkiMufrizal.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OAuth2-HMAC\n\n# How To Use\n\n1. Run the project using this command\n\n```bash\ngradle clean bootRun\n```\n\n2. Generate the access token using this command\n\n```bash\ncurl -X POST -vu clientid:secret http://localhost:8080/oauth/token -H \"Accept: application/json\" -d \"client_id=clientid\u0026grant_type=client_credentials\"\n```\n\n3. You can generate the HMAC Signature from [HMAC Generator Online](https://www.liavaag.org/English/SHA-Generator/HMAC/). for the input, use this combination\n\n```text\naccess_token:timestamp:payload\n```\n\n4. Access The API Using this command\n\n```bash\ncurl \"http://127.0.0.1:8080/api/barangs\" \\\n  -H \"Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJyZWFkIiwid3JpdGUiXSwiZXhwIjoxNTEyMzM2MDMxLCJhdXRob3JpdGllcyI6WyJBRE1JTklTVFJBVE9SIiwiQ0xJRU5UIiwiQURNSU4iXSwianRpIjoiNWVhMTEwN2UtOWU0ZC00ZmM0LWE2OTItN2Q5NmU4MjEyMzQ0IiwiY2xpZW50X2lkIjoiY2xpZW50aWQifQ.1YWFx39W2ua4-wcofYM69ybhneMt9vjfKm04fdwy1T8\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"HMAC-Signature: n1ZFRydj1UCvK68Ub3oL1aE8a48GotOTGUHqlj/mBR838DM8CAFJ02Z8G2m6p2ML+vV+XkGw9Be34jcL1axOUA==\" \\\n  -H \"HMAC-Timestamp: 2017-02-14T10:48:01.000+07:00\"\n```\n\n## Technologi\n\n* Access Token Using JWT RSA\n* HMAC with SHA512\n* Spring Security\n* Spring Session\n* Spring OAuth2\n* Spring Data Cassandra\n* Spring Data Redis\n* Spring Boot\n* Spring hateoas\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizkimufrizal%2Foauth2-hmac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frizkimufrizal%2Foauth2-hmac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizkimufrizal%2Foauth2-hmac/lists"}