Session not persistent on iPadOS. Works fine on iOS. [prefersEphemeralWebBrowserSession]
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- ios, objective-c
- Área
- authentication, mobile
Línea de trabajo
Comienza en OIDExternalUserAgentIOS e inspecciona cómo se establece authenticationVC.prefersEphemeralWebBrowserSession para iOS 13 y posteriores. Reproduce el flujo de inicio de sesión en iOS y iPadOS 18.1.1 con la configuración false y, después, determina si la diferencia entre las sesiones proviene de AppAuth-iOS, del uso compartido de cookies de Safari o del proveedor de identidad. Se considera completado cuando haya una causa reproducible y una orientación práctica, o un cambio confirmado del SDK que investigar.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
We are using AppAuth-iOS sdk for one of our project and once the login flow is completed through our app, When we go to the Safari browser(Normal window) and try to access the IDP page, It just logs in automatically fine In iPhone(iOS device) as the cookie is shared and accessible.
Now, when we try the same flow in an iPad Device Safari browser(Normal window), The session is not persisted for Safari browser and it asks for the user name and password again which leads to multiple other issues specific to our app.
Is there some known issue in iPadOS device regarding session and cookies. Why it doesn't work for iPadOS devices and works for iPhone(iOS) device. I am using the latest version of OS on both the devices(iOS 18.1.1 and iPadOS 18.1.1)
I see below code is inside OIDExternalUserAgentIOS responsible to allow the session sharing or Not.
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000
if (@available(iOS 13.0, *)) {
authenticationVC.presentationContextProvider = self;
authenticationVC.prefersEphemeralWebBrowserSession = _prefersEphemeralSession;
}
#endif
I checked the value of authenticationVC.prefersEphemeralWebBrowserSession is False and tried setting it to false manually also. But still the issue persists. What could be causing this issue? Appreciate any help on this.
- Lenguaje dominante
- Objective-C
- Estrellas
- 2k
- Forks
- 866
- Merge medio
- 9 d 20 h
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de openid/AppAuth-iOS
-
enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 60/100
openid/AppAuth-iOS#908 ·
-
Custom browser user-agent fails the flow with "Unable to open Safari." while the browser opens (it returns the result of canOpenURL:)Posiblemente ocupada @federicobartoli la tomó hace 3 días. Abiertobug triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
openid/AppAuth-iOS#980 ·
-
Remove Cocoapods SupportAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
openid/AppAuth-iOS#962 ·
-
[iOS] Support Guided Access ModeAbiertoenhancement triage
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
openid/AppAuth-iOS#953 ·
-
enhancement triage
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
openid/AppAuth-iOS#948 ·
Todos los issues de openid/AppAuth-iOS
Issues similares
-
[Fix proposed] macOS 10.9: crash on startup due to +[NSColor linkColor] (10.10+ API) in menu_macos.mmPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
joncampbell123/dosbox-x#6664 ·
Los mantenedores suelen responder en 1 día
-
Typo in installer: “addition protections” → “additional protections”Posiblemente ocupada @Jah-yee la tomó hace 1 día. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 94/100
objective-see/BlockBlock#111 ·
-
s: need triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Tencent-TDS/KuiklyUI#1786 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
DataDog/dd-sdk-ios#3293 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
callstackincubator/voltra#340 ·
Los mantenedores suelen responder en 4 días