khoj-ai / khoj

Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (e.g gpt, claude, gemini, llama, qwen, mistral).
https://khoj.dev
GNU Affero General Public License v3.0
16.2k stars 796 forks source link

Fix Post Login Redirects for Khoj Pages behind Auth #578 #818

Closed mingLvft closed 2 months ago

mingLvft commented 5 months ago

Redirect to a specific authenticated page after logging in doesn't currently work. Always directed to post-login landing page, even when redirect link in URL

debanjum commented 5 months ago

Can you share an example URL with that behavior? It does redirect to at least some authenticated pages I tested (e.g https://app.khoj.dev/login?next=http%3A%2F%2Fapp.khoj.dev%2Fautomations)

sabaimran commented 2 months ago

hey @mingLvft , I'll close this for now since we haven't had an update, but please comment here in case you're still seeing that behavior and we can investigate. It's possible some pages aren't properly creating their redirect URIs.