cuddly-australia-64189
02/17/2022, 6:30 PMid_token mutator that should run if the request is authenticated, but should just be ignored if not.
I could split it into a public and a protected endpoint (eg /.hasura/public and /.hasura/protected), but I'd like to avoid having to determine the auth state on the clients, since the upstream url is the same anyway.
The functionality I'm looking for would be something like
mutators:
- handler: id_token
when: authenticated # run this only when it's an authenticated requestthousands-church-11419
02/19/2022, 8:20 PMthousands-church-11419
02/19/2022, 8:21 PMcuddly-australia-64189
02/20/2022, 8:13 PMthousands-church-11419
02/20/2022, 11:04 PMcuddly-australia-64189
02/21/2022, 7:59 AMmagnificent-energy-493