open-vault/ui/app/lib/route-paths.js
Chelsea Shaw c6bc8db441
UI: Forward to redirect_to param to when auth'd (#16821)
* Pull route paths out of cluster-route mixin

* Add redirect route and point there if authed and desired path is auth

* Cleanup test

* Use replaceWith instead of transitionTo

* Update tests

* Fix controller accessed by redirect route

* Add changelog

* Fix tests
2022-08-23 11:05:00 -05:00

13 lines
691 B
JavaScript

export const INIT = 'vault.cluster.init';
export const UNSEAL = 'vault.cluster.unseal';
export const AUTH = 'vault.cluster.auth';
export const REDIRECT = 'vault.cluster.redirect';
export const CLUSTER = 'vault.cluster';
export const CLUSTER_INDEX = 'vault.cluster.index';
export const OIDC_CALLBACK = 'vault.cluster.oidc-callback';
export const OIDC_PROVIDER = 'vault.cluster.oidc-provider';
export const NS_OIDC_PROVIDER = 'vault.cluster.oidc-provider-ns';
export const DR_REPLICATION_SECONDARY = 'vault.cluster.replication-dr-promote';
export const DR_REPLICATION_SECONDARY_DETAILS = 'vault.cluster.replication-dr-promote.details';
export const EXCLUDED_REDIRECT_URLS = ['/vault/logout'];