Configures GitHub OAuth authentication in Orchard Core CMS. Covers recipe steps, callback paths, client secret management, and the Secrets module integration.
Ships in orchardcore. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Enable OrchardCore.GitHub.Authentication; it depends on
OrchardCore.Users.ExternalAuthentication. Configure it at
Settings → Security → Authentication → GitHub.
The persisted GitHubAuthenticationSettings properties are ClientID,
ClientSecret, ClientSecretSecretName (4.0), CallbackPath, and SaveTokens. The default callback path is
/signin-github. Register the tenant's full HTTPS callback URL as the
Authorization callback URL of the GitHub OAuth App.
The integration uses the AspNet.Security.OAuth.GitHub package
(GitHubAuthenticationDefaults, GitHubAuthenticationOptions,
GitHubAuthenticationHandler). The old GithubDefault, GithubOptions,
GithubHandler, and IGithubAuthenticationService APIs were removed in 3.0.
The dedicated GitHubAuthenticationSettings recipe step deliberately uses
ConsumerKey and ConsumerSecret, which the handler maps to the persisted
client ID and secret:
{
"steps": [
{
"name": "Feature",
"enable": [
"OrchardCore.GitHub.Authentication"
]
},
{
"name": "GitHubAuthenticationSettings",
"ConsumerKey": "github-oauth-client-id",
"CallbackPath": "/signin-github"
}
]
}
The generic Settings step accepts the persisted shape, including
SaveTokens:
{
"steps": [
{
"name": "Settings",
"GitHubAuthenticationSettings": {
"ClientID": "github-oauth-client-id",
"CallbackPath": "/signin-github",
"SaveTokens": false
}
}
]
}
The handler decrypts the stored client secret with data protection, as saved from the admin page. A secret imported by a recipe is stored as is and fails to decrypt, so enter the secret on the admin page. Both steps replace the stored values, so re-running them clears a secret entered earlier.
ClientSecretSecretName names a TextSecret of the Secrets module and takes
precedence over ClientSecret. With the OrchardCore.Secrets feature enabled,
the client secret editor offers Use a secret (suggested name
GitHub.ClientSecret); a saved secret can be moved without retyping it from
Tools → Security → Migrate Secrets. The generic Settings step can set
"ClientSecretSecretName": "GitHub.ClientSecret" after a Secrets step
created the secret from the OrchardCore__Secrets__GitHub.ClientSecret
environment variable; the dedicated GitHubAuthenticationSettings step has no
secret-name property. See orchardcore-secrets.
builder.Services
.AddOrchardCms()
.ConfigureGitHubSettings();
{
"OrchardCore": {
"Authentication": {
"GitHub": {
"ClientID": "github-oauth-client-id",
"ClientSecret": "",
"CallbackPath": "/signin-github",
"SaveTokens": false
}
}
}
}
Unlike the Facebook, Google, Microsoft Account, and X secrets, the GitHub
ClientSecret is not listed among the secrets that 4.0 accepts as plain
values from configuration; verify the behavior before relying on it and keep
client secrets out of committed configuration. In 4.0 the GitHub login handler
reads the site settings, not the bound GitHubAuthenticationSettings options,
so prefer a secret selected on the admin page. A nonblank configured
ClientSecret logs a LegacySecretConfiguration warning (event 8100).
Enable OrchardCore.Users.Registration only when external visitors may create
local accounts; new external users are governed by
ExternalRegistrationSettings (see orchardcore-users-roles). Authentication
does not grant Orchard roles or permissions.
OrchardCore_GitHub configuration section to OrchardCore:Authentication:GitHub (the old name still works but is deprecated).GitHubAuthenticationSettings.ClientSecret directly must also honor ClientSecretSecretName, since moving it to a secret clears ClientSecret.Official Orchard Core videos shown on the documentation page:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
140 skills in this plugin
/orchardcore-adminGuidance for the Orchard Core admin panel, including admin controllers and routes, admin menu registration with AdminNavigationProvider, ocat editor forms grouped in cards, admin pages rendering Model.Editor, the UI text casing standard, TheAdmin layout and menu colors, admin branding, the Navbar shape, the Ctrl+K quick navigation palette and QuickNavigationSource, AdminSettings such as MenuBehavior, ShowBreadcrumb, DisplayQuickNavigation, DisplayTitlesInTopbar and ActionsLayout, the AdminDashboard shape, settings pages, and admin filters and zones. Use this skill when requests mention the Orchard Core admin panel, TheAdmin, admin controllers, admin menu registration, an icon on an admin menu item, the AdminSettings recipe step, quick navigation, navigation menu behavior, the admin URL prefix, UI text casing. Strong matches include OrchardCore.Admin, AdminSettings, AdminPermissions, AdminOptions, AdminAttribute, SiteDisplayDriver, IDisplayManager./orchardcore-admin-dashboardSkill for creating admin dashboard widgets in Orchard Core. Covers the DashboardWidget stereotype, DashboardPart position and sizing, the built-in HtmlDashboardWidget, ContentsMetadata and ContentsTags widget types, custom widget content types via recipe or migration, arranging widgets in Manage Dashboard mode, widget template customization, provisioning widgets with recipes, dashboard permissions, the DashboardBreadcrumbProvider Dashboard ancestor, and the AdminDashboardContent shape used when the feature is disabled. Use this skill when requests mention Orchard Core Admin Dashboard, Create and Configure Dashboard Widgets, Enabling Admin Dashboard, Widget Configuration Properties, dashboard widget recipes, Dashboard breadcrumb, or related implementation, setup, or troubleshooting work. Strong matches include OrchardCore.AdminDashboard, DashboardPart, DashboardBreadcrumbProvider, AccessAdminDashboard, ManageAdminDashboard./orchardcore:orchardcore-github-authenticationfrom orchardcore
npx claudepluginhub crestapps/crestapps.agentskills --plugin orchardcoreOther plugins' skills for the same job