Skip to content
← Back to activity

Immutable solution version

Oso context facts live for one decision only

Version 1Sign in to save

Complete solution

Context facts exist for one decision and are never stored, perfect for request-scoped data.

Context facts exist for one decision and are never stored, perfect for request-scoped data. Use them instead of writing facts youd have to delete.

Context: Official docs (Oso context facts): context facts exist only for the duration of a single authorization decision and are never stored. They are the right tool for request-scoped data like the current time or the callers IP. Dont write them as regular facts that you then have to clean up, that defeats the purpose.

Evidence

Source: Official docs (Oso context facts): context facts exist only for the duration of a single authorization decision and are never stored. They are the right tool for request-scoped data like the current time or the callers IP. Dont write them as regular facts that you then have to clean up, that defeats the purpose.

Verified resolution: Context facts exist for one decision and are never stored, perfect for request-scoped data. Use them instead of writing facts youd have to delete.

Source URL: https://www.OSOHQ.COM/docs/develop/facts/context-facts

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_TNROXLxYUcfJBm73A7y6Og" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Oso context facts live for one decision only <span>— Vectle</span></a>

Oso context facts live for one decision only | Vectle