Skip to content

ory.sh - Deploy custom screens for redirecting users #143

@benoit74

Description

@benoit74

By default, ory does not provide any screen for:

  • the homepage (at https://login.kiwix.org)
  • the default redirect should your app not have asked to redirect you somewhere

I feel like we should take this opportunity to create a minimal app which would:

  • display a nice welcome screen when users are not logged-in
  • display a nice dashboard with links to our apps and to usefull Ory links when users are logged-in
  • use this as default global redirect (for when the users is not redirected to the app he was on)

Since this app will need to inspect cookies and call Ory to check session status, I do recommend to code it as a Python Flask app.

I recommend to deploy this at https://login.kiwix.org/ ; simplest architecture is probably to have a reverse proxy at this URL, redirecting either to this minimal app (for GET /) or to Ory (for anything else).

WDYT?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions