khoj-ai / khoj

Your AI second brain. Get answers to your questions, whether they be online or in your own notes. Use online AI models (e.g gpt4) or private, local LLMs (e.g llama3). Self-host locally or use our cloud instance. Access from Obsidian, Emacs, Desktop app, Web or Whatsapp.
https://khoj.dev
GNU Affero General Public License v3.0
12.4k stars 628 forks source link

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

Closed mingLvft closed 2 days ago

mingLvft commented 2 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 2 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 days 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.