Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Github SignUp/SignIn

Đang mở
#1,373 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
authentication, frontend

Hướng nghiên cứu

Bắt đầu với nút kết nối GitHub hiện có trên trang tích hợp người dùng, sau đó lần theo các trang đăng ký và đăng nhập cũng như route GitHub. Kiểm tra cách route cập nhật store và session, bao gồm cả route chuyển hướng được lưu bền vững, và xem issue API được liên kết để biết hành vi phía server. Hoàn thành khi các nút đăng ký và đăng nhập GitHub hoạt động và việc xác thực thành công chuyển hướng đến đích ban đầu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

needs estimate

Problem

We want to add github signup/sign in in addition to the github connect we currently have.

This can be done followingly

First, we add buttons to the UI

  • Add a signup with github button to the signup page. This is basically the connect with github button on the user integration page, just with different test
  • Add a sign in with github button to the login page, same as above

Considering the behavior of the button is about the same, we should rename the existing component and then rewrite it so it yields to content (so we can specify text/content ourselves).

Next, we modify our github route

Right now, it sends the code and the state to our API and pushes the returned user into the store.

We should modify this so it also signs the returned user into the session and, if that happens, does not redirect to the settings.integrations route and instead redirects to the redirected from route (should be persisted in the session).

That's it on ember

That should be all there is to it on the side of ember. We can expand later, by, for example, allowing users who signed up through github, to set their password, etc.

The rest is done on the API - https://github.com/code-corps/code-corps-api/issues/9#issuecomment-329185148

@JoshSmith Does this sound like it should be it, or am I missing something?

Ngôn ngữ chính
JavaScript
Star
120
Fork
75
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của code-corps/code-corps-ember

Tất cả issue của code-corps/code-corps-ember

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.