Implement a check for GitHub OAuth credentials to conditionally render the GitHub sign-in button. This ensures the UI accurately reflects available authentication methods based on environment configuration. - Add `isGithubAuthEnabled` utility to verify server-side credentials - Propagate GitHub auth status through context providers to the UI - Conditionally display the GitHub sign-in button in the sign-in page - Update documentation and examples to use hex encoding for `AUTH_SECRET` - Add unit tests for the new GitHub authentication configuration logic |
||
|---|---|---|
| .. | ||
| app | ||
| epub/[id] | ||
| html/[id] | ||
| pdf/[id] | ||
| signin | ||
| signup | ||
| layout.tsx | ||