Ory Account Experience (hosted UI) registration trait setup via creation of registration flow
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Área
- authentication
Línea de trabajo
Empieza revisando cómo /self-service/registration/browser gestiona los parámetros de consulta para la creación de flows, especialmente el parámetro return_to existente y los formularios de traits y prefill intentados. El trabajo estará terminado cuando exista una forma compatible de proporcionar valores de traits predeterminados durante la creación de flows de registro, aplicando el comportamiento a los flows solicitados y conservando la gestión existente de return_to.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
No response
Describe your problem
Issue: Unable to send Identity Traits values when creating a registration flow
I am using Ory’s Account Experience ( hosted UI )
I have newsletter optin: bool ( default to true) in my Identity schema
Upon registration flow creation, I want to check from CloudFlare Header is country is IN LIST, and IF YES, then I want the newsletter optin: false
I tried sending this data with the registration flow in creation ,but none of the solution below worked.
/self-service/registration/browser?newsletter=false
/self-service/registration/browser?traits.newsletter=false
/self-service/registration/browser?prefill.newsletter=no
/self-service/registration/browser?traits={newsletter:false}
Describe your ideal solution
Ideal Solution
Just the way we can send return_to param via user registration flow creation query, we should be possible to send some default/desired trait values. Ideally ability for our app to send certain data during the flow generation via url that currently we handle via API.
This applies to all flows
- registration
- login
- etc....
This is what currently works
/self-service/registration/browser?return_to="xyz.com/x/y
This is what would be REALLY nice to have
/self-service/registration/browser?return_to="xyz.com/x/y&traits.newsletter=true&trait.x.y="abcd
Workarounds or alternatives
Currently only work around is to change the feature's flow
We let user register simply with newsletter = false
Upon registration when user is redirected to the app's domain, this is when we trigger a dialog box and let user make some trait selections
Upon trait selection submission, we make Ory API call to update those selections
Version
Latest Stable
Additional Context
- Lenguaje dominante
- Shell
- Estrellas
- 96
- Forks
- 8
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
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 ory/network
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
-
Updating native registration flow with OIDC ID token for existing identity returns breaking responseAbiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
-
selfservice.flows.login.style reverts to identifier_first despite explicitly setting passwordAbiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
-
feat
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
-
User settings flow "back" button takes you to homepageQuizá libre de nuevo @jonas-jonas la tomó hace 384 días y no hay ningún pull request abierto. Abiertobug
Todos los issues de ory/network
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
alunduil/alunduil-infrastructure#629 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
duckdb/duckdb-skills#19 ·