localstack / localstack/localstack-desktop

increase authorized device timeout

Đang mở
#27 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.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
43
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Currently I am asked to "sign in" to authorise my device (my iMac) every 1-2 hours.
This happens regardless of whether I create a new localstack instance or not.
This is very frustrating as the interface only shows what was available before the page eg cloudwatch logs is force refreshed which then triggers a new sign in screen.

Ideally the auth mechanism for the device (in this case my iMac) should last longer than 1 hour,
a week would be ideal.
This would facilitate a much better user development experience.

To replicate this:

- Create a localstack instance
- open localstack desktop
- click on the instance
- click on "Resource browser"
- click the "log in" button
- copy the provided code and paste it into the opened web page in your browser
- hi the aythorise button in the browser.
- close the browser window.
- do some work and open a log group in cloudwatch logs
- note how many log streams ar available
- do some more work leaving the desktop app open for about 1+ hours
- do work that generates a new log stream in the group you chose previously
- go back to the desktop app and click the link to go back to cloudwatch logs in the breadcrumbs path
- select the same group you chose previously
- note that there are no new log streams with respect to your recent work
- force refresh the page (command+shift+R on my Mac)
- click the "login" button that now appears
- repeast steps to copy code, paste code and authorise device.
- Refreshing the logstream at this point may or may not work and you may need to click on the home icon and navigate all the way back through the instance and resource browser to find the log stream tou were previously viewing and see it does indeed have the log stream of the most recent work.

As you can see this is very frustrating as without doing a "force refresh" to trigger a sign in flow no new data is shown in the interface.
This also make it look like the infrastructure being developed is not working when it actually is and its the interface thats not updating.

Apologies for the long explanation ;)

I hope this can be resolved easily
cheers

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.

Hướng nghiên cứu

Bắt đầu với các bước tái hiện cho Resource browser và CloudWatch logs của LocalStack Desktop, tập trung vào quy trình ủy quyền thiết bị và hành vi làm mới sau một giờ. Hoàn thành có nghĩa là quyền ủy quyền vẫn khả dụng trong khoảng thời gian dài hơn được yêu cầu và các luồng log mới được tạo xuất hiện mà không cần buộc làm mới hoặc đăng nhập lại.

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

Đánh giá

Công nghệ
aws
Lĩnh vực
authentication, desktop, observability
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
38/100

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.