FormidableLabs / FormidableLabs/react-native-app-auth
[iOS] Universal link not working as redirect URI
- Ngôn ngữ chính
- Java
- Star
- 2.3k
- Fork
- 473
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## Issue
Hi,
I am facing the problem that my https redirect URI is not working when using the normal authentication through the browser popup window. However, if I set the customBrowser to Safari, it works. This will open up the Safari browser in a external window. After swichting back to the popup window it works, but only for a limited time. After some time the Universal links stop working (Properly because the associated domains are cached somehow?). I have the feeling the apple app site association file is not loaded correctly, when the external browser is not opened once.
The use of the external (or default web browser) variant is not accepted by Apple App Review anymore, because of bad user experience.
If anyone could solve this problem, please contact me!
Thanks!
---
## Environment
Keycloak
* **Platform that you're experiencing the issue on**: `iOS`
* **Your `react-native` Version**: `e.g. 0.72.1`
* **Your `react-native-app-auth` Version**: `e.g. 7.0.0`
* **Are you using Expo?**
no
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện luồng chuyển hướng HTTPS của Keycloak trong react-native-app-auth trên iOS, so sánh cửa sổ bật lên của trình duyệt thông thường với Safari và kiểm tra hành vi của Universal Links và Apple App Site Association được mô tả trong issue. Công việc được xem là hoàn tất khi redirect URI hoạt động ổn định từ cửa sổ bật lên mà không yêu cầu trình duyệt bên ngoài; báo cáo không nêu tên tệp hoặc bài kiểm thử nào.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- ios, react-native
- Lĩnh vực
- authentication, mobile
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100