polite-electrician-27480
01/31/2022, 3:01 PMcookie_session
authenticator allows us to verify a logged in user but how do we serve content to a non logged in user?magnificent-energy-493
polite-electrician-27480
01/31/2022, 3:07 PMcookie_session
as authenticator, it would return an error.magnificent-energy-493
polite-electrician-27480
01/31/2022, 3:09 PMmagnificent-energy-493
authenticators:
cookie_session:
enabled: true
config:
check_session_url: <http://kratos:4433/sessions/whoami>
preserve_path: true
extra_from: "@this"
subject_from: "identity.id"
only:
- ory_kratos_session
polite-electrician-27480
01/31/2022, 3:15 PMmagnificent-energy-493
magnificent-energy-493
polite-electrician-27480
01/31/2022, 3:25 PMpolite-electrician-27480
01/31/2022, 3:26 PMory_kratos_session
cookie is not set, the oathkeeper will try the next rule. In that rule, I could set a header and use that in my backend to identify anonymous userspolite-electrician-27480
01/31/2022, 3:27 PMmagnificent-energy-493
polite-electrician-27480
01/31/2022, 3:55 PMthousands-church-11419
02/09/2022, 3:52 PM