Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Settings flow does not respect the return_to with a `/settings` path

Abierto
#321 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado

Línea de trabajo

No se especifican archivos, pruebas ni puntos de entrada. Reproduce el flujo de configuración con un dominio personalizado, una ruta relativa de la interfaz de configuración y un return_to que apunte a una URL que contenga /settings; rastrea cómo el envío de la configuración gestiona ese valor. Se considera terminado cuando el envío redirige a la URL return_to proporcionada en lugar de permanecer en la página de configuración.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug
Preflight checklist
Describe the bug

A settings flow containing a return_to with the /settings path causes return_to to be ignored in the settings submit flow. An example is when you have an application with the url https://app.example.com/settings the URL will look like so:

https://auth.example.com/sefl-service/settings/browser?return_to=https://app.example.com/settings.

The project config has the following:

Custom Domain: auth.example.com
Custom UI: ui.example.com
Settings URL: /settings

note: this only happens with Custom domains and not when developing locally through the Ory tunnel

Reproducing the bug
  1. Create a project
  2. Add custom domain
  3. Add your custom UI base URL
  4. Keep the settings UI as a relative path /settings
  5. Initiate a settings flow with the return_to query parameter set to a route containing /settings in the path (https://app.example.com/settings)
  6. Submit the settings flow and see it stay on the settings page.
Relevant log output

No response

Relevant configuration

No response

Version

latest

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

No response

Lenguaje dominante
Shell
Estrellas
96
Forks
8
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ory/network

Todos los issues de ory/network

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.