This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
2021-02-03 14:06:44 +00:00
|
|
|
export default {
|
2021-02-20 17:23:49 +00:00
|
|
|
// https://github.com/ory/kratos-selfservice-ui-node#configuration
|
2021-02-03 14:06:44 +00:00
|
|
|
kratos: {
|
2021-02-20 17:23:49 +00:00
|
|
|
// The URL where ORY Kratos's Public API is located at. If this app and ORY Kratos are running in the same
|
|
|
|
// private network, this should be the private network address (e.g. kratos-public.svc.cluster.local)
|
2021-02-20 17:39:01 +00:00
|
|
|
public: process.env.NEXT_PUBLIC_KRATOS_PUBLIC_URL.replace(/\/+$/, ""),
|
2021-02-20 17:23:49 +00:00
|
|
|
// The URL where ORY Kratos's public API is located, when accessible from the public internet via ORY Oathkeeper.
|
|
|
|
// This could be for example http://kratos.my-app.com/.
|
|
|
|
browser: process.env.NEXT_PUBLIC_KRATOS_BROWSER_URL.replace(/\/+$/, ""),
|
2021-02-03 14:06:44 +00:00
|
|
|
},
|
|
|
|
};
|