Where can I set kratos flow hooks in Ory Cloud? I ...
# talk-kratos
b
Where can I set kratos flow hooks in Ory Cloud? I can't find it anywhere
h
@magnificent-energy-493 can you help? 🙂
b
Deciding between using ory cloud and self hosting 😛 are there any guidances on the "fair use" policy?
It seems like on every request to my backend I have to verify the session cookie with ory, doesn't that add a lot of overhead if the kratos server is not near my api server?
s
on every request to my backend I have to verify the session cookie with ory
yes, this is the intended setup we are working hard on optimizations to reach a VERY LOW latency world wide in case this becomes a problem we are super happy to fix it
b
Alright that's okay. Is there a way to have hooks in ory cloud and the ability to customize my email templates?
Seems like I should use the ory cli?
f
yes, please use the CLI. We're working on the Console UI for email templates
b
@fast-lunch-54279 Is there a guide out for uploading email templates to cloud? I read vincent was working on something like this
f
re there any guidances on the "fair use" policy?
We recently updated http://ory.sh/pricing - please have a look and feel free to DM or email me with any questions!
b
The usage limits are pretty confusing, are the permission checks per day or per month? Are the active network peers per day or per month? Does a network peer request include checking a session? (meaning you can only auth 2000 total requests per day)
m
Hey Duke, the guide is not done yet, ill make a note to send you a preview once i have it 🙏 and yea basically you export the configuration
ory get identity-config d910fa392-2d72-4df32-aeb2-2c2b534639945 --format json-pretty
add the hooks or email or any other customization and then update it
As for the pricing questions @bulky-greece-49863 1. are the permission checks per day or per month? Are the active network peers per day or per month? Permission checks are per month so e.g. on the free plan 25k checks per month. The active network peer are o per day, so e.g. on the free plan 200 daily individual users 3. Does a network peer request include checking a session? An Active Network Peer is basically one user, they can make as many requests as needed per day.
b
@magnificent-energy-493 Perhaps the "we don't bill based on monthly active users" should be reworded then. Because it while you don't neccesarily bill per user, it does impose a cap on the amount of users you can have on a single plan.
The permission checks also seem kind of low if you take into consideration that most if not every request to a backend service requests permissions from keto to see if the user can perform a certain action
@magnificent-energy-493 Perhaps the "we don't bill based on monthly active users" should be reworded then. Because it while you don't neccesarily bill per user, it does impose a cap on the amount of users you can have on a single plan.
Sorry, not a cap, but perhaps extra costs at the end of a month
s
Thanks for the valuable feedback, we (especially @fast-lunch-54279) will take that into consideration!
b
No problem! I will probably end up going self-hosted
@steep-lamp-91158 Is there an opencollective for ory? Or a github sponsor page
If my project ever starts making money I'd be sure to donate
s
b
@steep-lamp-91158 A link to the opencollective would definitely fit in the site footer
s
Good idea, we have it in every GitHub readme, but maybe not prominent enough