{"id":21211491,"url":"https://github.com/junxian428/clean_architecture_jwt_mysql","last_synced_at":"2026-01-01T22:06:10.591Z","repository":{"id":208778345,"uuid":"722468978","full_name":"junxian428/Clean_Architecture_JWT_MySQL","owner":"junxian428","description":"Others' project but modified ","archived":false,"fork":false,"pushed_at":"2023-11-23T08:19:20.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T15:50:32.574Z","etag":null,"topics":["clean-architecture","jwt","mysql"],"latest_commit_sha":null,"homepage":"","language":"C#","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/junxian428.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}},"created_at":"2023-11-23T08:08:50.000Z","updated_at":"2023-11-23T08:36:51.000Z","dependencies_parsed_at":"2023-11-23T09:24:40.186Z","dependency_job_id":null,"html_url":"https://github.com/junxian428/Clean_Architecture_JWT_MySQL","commit_stats":null,"previous_names":["junxian428/clean_architecture_jwt_mysql"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junxian428%2FClean_Architecture_JWT_MySQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junxian428%2FClean_Architecture_JWT_MySQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junxian428%2FClean_Architecture_JWT_MySQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junxian428%2FClean_Architecture_JWT_MySQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junxian428","download_url":"https://codeload.github.com/junxian428/Clean_Architecture_JWT_MySQL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243662946,"owners_count":20327295,"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":["clean-architecture","jwt","mysql"],"created_at":"2024-11-20T21:03:19.864Z","updated_at":"2026-01-01T22:06:10.542Z","avatar_url":"https://github.com/junxian428.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"Source code from YouTube video: [How to implement Authorization in the Application Level (Clean Architecture)](https://www.youtube.com/watch?v=XH2hufRcJGc)\n\n\n\nhttps://localhost:7170/api/auth/signin\n\n{\n    \"email\": \"manager@manager.com\",\n    \"password\":\"Pass123!\"\n}\n\n{\n    \"success\": true,\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6ImFiZDBjN2JjLTY4YjAtNGVhYy1iMDk1LTVlMTM0MjY1N2ExZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2VtYWlsYWRkcmVzcyI6Im1hbmFnZXJAbWFuYWdlci5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoibWFuYWdlciIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6Ik1hbmFnZXIiLCJleHAiOjE3MDA3MjczNzksImlzcyI6IlRlc3QiLCJhdWQiOiJUZXN0In0.7xxrSc58ToDybVDDl9FvqsIgSSCbYz57g5kJWpSVzeE\",\n    \"errors\": []\n}\n\n![image](https://github.com/junxian428/Clean_Architecture_JWT_MySQL/assets/58724748/d4a67aec-ffd0-4fad-8a62-3da2e9a8c817)\n\n\nAfter attached with Bear Token:\n\nGET Request: https://localhost:7170/api/message/manager\n\nResponse :\n\nHello Manager\n\nGET METHOD: https://localhost:7170/api/message/supervisor\n\nResponse:\n\nHello Supervisor\n\nGET method: https://localhost:7170/api/message/admin\n\n403 Forbidden\n\nAdmin Side:\n\nhttps://localhost:7170/api/auth/signin\n\n\n{\n    \"email\": \"admin@admin.com\",\n    \"password\":\"Pass123!\"\n}\n\n{\n    \"success\": true,\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6ImNiNzNhZGE3LTJkMjMtNDhhNy05NDI5LWEyNGE1NDVjYjEyZSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2VtYWlsYWRkcmVzcyI6ImFkbWluQGFkbWluLmNvbSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJhZG1pbiIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IkFkbWluIiwiZXhwIjoxNzAwNzI4MDgyLCJpc3MiOiJUZXN0IiwiYXVkIjoiVGVzdCJ9.6Ix6v5-g1jcABhFL4fIA3BRqa80ODkfhRiHGy6UKHRw\",\n    \"errors\": []\n}\n\nhttps://localhost:7170/api/message/admin\n\nResponse:\n\nOnly for Admins' Eyes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunxian428%2Fclean_architecture_jwt_mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunxian428%2Fclean_architecture_jwt_mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunxian428%2Fclean_architecture_jwt_mysql/lists"}