What's next for authorization
Geolocation and device-trust conditions, one policy across every service, remembered consent to structured permissions, and structured permissions through token exchange, and what to use until each arrives.
Planned
These authorization features are planned. None of them is available yet; each says what it will do, how you’ll use it, and what to use today.
Geolocation conditions
Section titled “Geolocation conditions”A policy that holds only for calls from a country or region. How you’ll use it: add a location condition to a
policy, naming the countries or regions it allows or denies, as you add an address range today. What to use
today: a policy’s IPv4 and IPv6 conditions hold for an address range you name: see
Policies, and the “only from your network” recipe in
Common access policies.
Device trust at sign-in
Section titled “Device trust at sign-in”Sign-in and token policy can require a managed or compliant device, vouched for by the device’s own connection to the realm. A user on an unmanaged laptop can be refused, or asked for more, before any token is issued. How you’ll use it: add a device condition to the issuance policy or to a policy, such as “only from a managed device” for the finance app. What to use today: an address-range condition for your offices’ networks, and a stronger sign-in for sensitive apps (Step up for sensitive actions). Device posture is in Endpoint Management.
One policy across every service
Section titled “One policy across every service”One way to write a rule that every part of the platform follows, from sign-in and tokens to the gateway, the secrets store and devices, with one view of what it does. How you’ll use it: write the rule once in the realm; each service receives it in its own terms. What to use today: policies for API calls, the issuance policy for tokens, and each product’s own settings.
Remembered consent to structured permissions
Section titled “Remembered consent to structured permissions”A user who has consented to the same authorization_details once isn’t asked again. How you’ll use it: nothing to
set; consent to structured permissions is remembered as consent to scopes is. What to use today: a request
carrying authorization_details always asks the user, even where consent would be remembered or implied: see
Rich authorization requests.
Structured permissions through token exchange
Section titled “Structured permissions through token exchange”A token exchanged from one that carries authorization_details keeps them, narrowed as scopes are. How you’ll use
it: an exchange may name a subset of the objects, never add one. What to use today: an exchanged token holds no
authorization_details. Ask for them on the original grant, or have the agent ask its owner for one exact action with
bounded approvals.