-
Notifications
You must be signed in to change notification settings - Fork 6
Implement simplified Material UI login system with server-side JWT validation and configure @idea2app/data-server package integration #84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@TechQuery 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs. I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review. |
Co-authored-by: TechQuery <[email protected]>
Co-authored-by: TechQuery <[email protected]>
Co-authored-by: TechQuery <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot 每条意见都要搜索全局有没有类似问题,要一起修改。
…er model Co-authored-by: TechQuery <[email protected]>
Co-authored-by: TechQuery <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot 所有同类问题全局都要改
Co-authored-by: TechQuery <[email protected]>
Addressed all similar issues globally:
All changes follow consistent patterns across the codebase. (26e37e6) |
Co-authored-by: TechQuery <[email protected]>
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
@copilot 我已经配置好环境变量,你只需添加以下 //npm.pkg.github.com/:_authToken=${NPM_TOKEN}
@idea2app:registry=https://npm.pkg.github.com
always-auth=true |
Co-authored-by: TechQuery <[email protected]>
Successfully configured
The package access is now working correctly. Commit: 0ce9f38 Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
disabled={loading} | ||
onClick={this.handleWebAuthn} | ||
> | ||
<SymbolIcon name="fingerprint" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fingerprint 没有在 html link 处引入,不会生效的
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fingerprint 没有在 html link 处引入,不会生效的
好的,没注意这么细节的问题,主要是先想让 AI 把通用的登录框代码移植过来,马上要做的下个 PR 我修复一下。
This PR implements a complete login system with Material UI components and server-side JWT validation, along with proper integration of the
@idea2app/data-server
package for standardized type definitions.Key Features
Authentication System:
next-ssr-middleware
Type System Integration:
@idea2app/data-server
packagemobx-github
@types/jsonwebtoken
Translation Support:
Technical Improvements:
The implementation assumes a
localhost:8080
backend development environment and focuses on frontend integration with proper type safety throughout the authentication flow.💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.