{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":736924365,"defaultBranch":"main","name":"give-me-accesstoken","ownerLogin":"risou","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-12-29T09:16:56.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/62481?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1705222960.0","currentOid":""},"activityList":{"items":[{"before":"944b16dd2eeea40b49dc8848d96a4fe808424d8a","after":"2dd463eca45c5a43157bb42a13a2bcd328faecb7","ref":"refs/heads/main","pushedAt":"2024-01-28T17:22:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"risou","name":"risou","path":"/risou","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62481?s=80&v=4"},"commit":{"message":"Update installation instructions","shortMessageHtmlLink":"Update installation instructions"}},{"before":"e92e690a86bfde4c7d1854cc13cf5907c166fd7e","after":"944b16dd2eeea40b49dc8848d96a4fe808424d8a","ref":"refs/heads/main","pushedAt":"2024-01-14T09:53:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"risou","name":"risou","path":"/risou","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62481?s=80&v=4"},"commit":{"message":"Implement OAuth2 Google login in config sample\n\nAdded a OAuth2 configuration block for Google login, in the config.yml.sample file. Authentication method is client_secret_post, and grant type is authorization_code. Redirect URI and other necessary endpoints have been included, enhancing login capabilities.","shortMessageHtmlLink":"Implement OAuth2 Google login in config sample"}},{"before":"0df95cf2f290f66be87bab8701605d4be1057797","after":"e92e690a86bfde4c7d1854cc13cf5907c166fd7e","ref":"refs/heads/main","pushedAt":"2024-01-14T08:43:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"risou","name":"risou","path":"/risou","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62481?s=80&v=4"},"commit":{"message":"Add version display option to README\n\nThe README has been updated to include the new `--version` flag. This flag allows the tool's users to display the current version when invoked. This contributes to user experience and ease of version control.","shortMessageHtmlLink":"Add version display option to README"}},{"before":"8b87ec843d942929a0ed77ae060b555035d025b7","after":"0df95cf2f290f66be87bab8701605d4be1057797","ref":"refs/heads/main","pushedAt":"2024-01-14T08:36:41.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"risou","name":"risou","path":"/risou","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62481?s=80&v=4"},"commit":{"message":"Add version flag to application\n\nAdded a \"version\" boolean variable to the application's main option structure. This new flag is to output the current version of the application. Introduced \"version\" to main.go, allowing users to display the version number of 'give-me-accesstoken' when the flag is set to true.","shortMessageHtmlLink":"Add version flag to application"}},{"before":"c9f83e1ae4e273840aa9137c7d1d661bf28376ee","after":"8b87ec843d942929a0ed77ae060b555035d025b7","ref":"refs/heads/main","pushedAt":"2024-01-08T14:29:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"risou","name":"risou","path":"/risou","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62481?s=80&v=4"},"commit":{"message":"Update README and change scopes in config sample\n\nThe README.md has been updated with a warning about potential security risks in using the tool in certain settings. The scopes in config.yml.sample have been changed from 'openid' and 'email' to 'user.read' and 'user.write'.","shortMessageHtmlLink":"Update README and change scopes in config sample"}},{"before":"e09ba98bb6ccbcc663b5ebb4c6f0122cad139600","after":"c9f83e1ae4e273840aa9137c7d1d661bf28376ee","ref":"refs/heads/main","pushedAt":"2024-01-07T14:30:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"risou","name":"risou","path":"/risou","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62481?s=80&v=4"},"commit":{"message":"Add README.md for give-me-accesstoken project\n\nThis commit introduces a README.md file containing information about the give-me-accesstoken project. The README includes directions for installation, usage, and configuration. It serves as a guide for both the authorization code grant and client credentials grant, helping users understand how to use and customize this Go-based command-line tool.","shortMessageHtmlLink":"Add README.md for give-me-accesstoken project"}},{"before":"3eb1a31f1b03e28c1c608a05cf17ae2975e144b7","after":"e09ba98bb6ccbcc663b5ebb4c6f0122cad139600","ref":"refs/heads/main","pushedAt":"2024-01-06T14:42:31.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"risou","name":"risou","path":"/risou","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62481?s=80&v=4"},"commit":{"message":"Update error handling for login requests in app.go\n\nThe code has been updated to include error handling for client requests in the app.go file. If a response with a status code higher than 400 is received, the program now returns an error indicating the failure to login. This additional check enhances the robustness of the login process.","shortMessageHtmlLink":"Update error handling for login requests in app.go"}},{"before":"bcd460bbcfa39469955b3e249d9fb16a91e86de9","after":"3eb1a31f1b03e28c1c608a05cf17ae2975e144b7","ref":"refs/heads/main","pushedAt":"2024-01-04T11:23:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"risou","name":"risou","path":"/risou","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62481?s=80&v=4"},"commit":{"message":"Refactor token request process in app.go\n\nThe code has been refactored to streamline the token request process by implementation of a new struct globally, TokenRequestParams, and altering the input parameters of the tokenRequest function. This new approach reduces repetition and enhances code readability. It also improves error handling in the process by managing errors at source rather than propagating them.","shortMessageHtmlLink":"Refactor token request process in app.go"}},{"before":"31b176ee8ae55b0338d91d4d81f6767ba012a88d","after":"bcd460bbcfa39469955b3e249d9fb16a91e86de9","ref":"refs/heads/main","pushedAt":"2024-01-04T06:29:00.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"risou","name":"risou","path":"/risou","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62481?s=80&v=4"},"commit":{"message":"Refactor error handling and remove debug logs\n\nUpdated error handling to return formatted errors instead of logging and causing a fatal error. That approach encourages better error handling on function calls. Additionally, removed numerous unnecessary debug log lines to clean up the code and improve readability.","shortMessageHtmlLink":"Refactor error handling and remove debug logs"}},{"before":"1f109b39eee8cd7a687534c457265c598e8b0bbd","after":"31b176ee8ae55b0338d91d4d81f6767ba012a88d","ref":"refs/heads/main","pushedAt":"2024-01-02T14:13:20.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"risou","name":"risou","path":"/risou","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62481?s=80&v=4"},"commit":{"message":"Implement authorization code flow and improve error handling\n\nAdded the capability to handle the 'authorization_code' grant type in the OAuth2 process and improved error handling in the app. Several new components related to this process, including redirect handling and random state generation, have been introduced. Also, this revision enhances error propagation by returning descriptive errors instead of logging fatal ones. It enhances flexibility by using switch statements for handling different grant types.","shortMessageHtmlLink":"Implement authorization code flow and improve error handling"}},{"before":"db63b26d43eb429e33f709a6761335a240d57358","after":"1f109b39eee8cd7a687534c457265c598e8b0bbd","ref":"refs/heads/main","pushedAt":"2023-12-30T14:22:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"risou","name":"risou","path":"/risou","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62481?s=80&v=4"},"commit":{"message":"Add additional authentication details to config.yml.sample\n\nThe sample configuration file (config.yml.sample) is updated to include more client authorization details. It now provides samples for both 'authorization_code' and 'client_credentials' grant types. Additionally, details such as redirect URIs, token endpoints, algorithms, keys, and scopes are included.","shortMessageHtmlLink":"Add additional authentication details to config.yml.sample"}},{"before":"87de89de73e2e0b777d17cd2f73ffe768681ce96","after":"db63b26d43eb429e33f709a6761335a240d57358","ref":"refs/heads/main","pushedAt":"2023-12-29T09:21:08.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"risou","name":"risou","path":"/risou","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62481?s=80&v=4"},"commit":{"message":"The provided diff and commit message actually do not match. A correct commit message for the diff would be:\n\nAdd .gitignore and config.yml.sample\n\nThis commit adds a .gitignore file to exclude unnecessary files from source control. A sample configuration file, config.yml.sample, is also included as a template for users to customize their own configurations.","shortMessageHtmlLink":"The provided diff and commit message actually do not match. A correct…"}},{"before":null,"after":"87de89de73e2e0b777d17cd2f73ffe768681ce96","ref":"refs/heads/main","pushedAt":"2023-12-29T09:16:56.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"risou","name":"risou","path":"/risou","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/62481?s=80&v=4"},"commit":{"message":"Initial commit","shortMessageHtmlLink":"Initial commit"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAD6yl1xAA","startCursor":null,"endCursor":null}},"title":"Activity · risou/give-me-accesstoken"}