Log in to GitHub and click here to register a new OAuth application. Fill in the “Application name,” “Homepage URL,” and “Application description” fields. Next, enter your blog’s root URL in the “Authorization callback URL” field. Click the “Register application” button to proceed to the application details page.
Register OAuth Application - GitHub
Copy the values for “Client ID” and “Client Secret,” and paste them into the corresponding configuration fields within your theme settings. OAuth Application Settings - GitHub" "OAuth Application Settings - GitHub
For example, given the “Client ID” and “Client Secret” shown below:
GitHub OAuth Application
1 2 3 4
Client ID xxxxxxxxxxxxxxxxxxxx Client Secret xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
The corresponding Gitalk configuration would be as follows:
> The following content is adapted from the [Icarus User Guide - Comment Plugins](https://ppoffice.github.io/hexo-theme-icarus/Plugins/Comment/icarus%E7%94%A8%E6%88%B7%E6%8C%87%E5%8D%97-%E7%94%A8%E6%88%B7%E8%AF%84%E8%AE%BA%E6%8F%92%E4%BB%B6/#Gitalk)
1. Log in to GitHub and [click here to register](https://github.com/settings/applications/new) a new OAuth application. Fill in the "Application name," "Homepage URL," and "Application description" fields. Next, enter your blog's root URL in the "Authorization callback URL" field. Click the "Register application" button to proceed to the application details page.
2. Copy the values for "Client ID" and "Client Secret," and paste them into the corresponding configuration fields within your theme settings. <imgstyle="max-width: 500px;"alt='OAuth Application Settings - GitHub" "OAuth Application Settings - GitHub'src="/hexo-theme-linen-doc-zh-CN/img/gitalk-application-settings.jpg">
For example, given the "Client ID" and "Client Secret" shown below:
3. For details regarding the meaning and possible values of the above configuration options, please refer to the [Gitalk documentation](https://github.com/gitalk/gitalk) or [hexo-component-inferno](https://github.com/ppoffice/hexo-component-inferno/blob/0.2.1/src/schema/comment/gitalk.json).