FormidableLabs / FormidableLabs/react-native-app-auth
Expose discovered config
- Lenguaje dominante
- Java
- Estrellas
- 2.3k
- Forks
- 473
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
I would like to access the `userinfo_endpoint` provided by the discovery endpoint and already required during the `authorize` , and later on use it to get this user info.
As of today I need to make the same call to the discover to grab the `userinfo_endpoint` and use it to fetch the profile information of the user.
I would avoid a rountrip for the already required config if it is possible to just access it.
See: https://github.com/FormidableLabs/react-native-app-auth/blob/bacd0377b46c0f0196a8b5cf86553484feacb023/ios/RNAppAuth.m#L112
Guía de contribución
Línea de trabajo
Comienza en ios/RNAppAuth.m, cerca de la línea enlazada, y sigue cómo se obtiene la configuración de discovery durante la autorización. Determina cómo podría exponerse el userinfo_endpoint descubierto para las solicitudes de perfil posteriores sin repetir el discovery. Se considera terminado cuando los llamadores pueden acceder a ese endpoint después de la autorización y evitar la llamada duplicada de discovery.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- objective-c, react-native
- Área
- authentication, mobile
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100