Returning users can now skip the SKY API consent screen

We've made the authorization code flow smoother for people who use your SKY API applications regularly. When a user has already granted your application consent for a specific environment, you can now send them through authorization without showing the SKY API consent screen again.

How it works

Include the environment_id parameter in your authorization URL. If the signed-in user has already consented to your application for that environment, we skip the consent screen and redirect the user straight back to your redirect_uri with an authorization code — no extra clicks.

The consent screen is bypassed for 60 days from the user's first authorization — the point at which they granted consent on the consent screen. After 60 days have passed, the user sees the consent screen again the next time they go through the flow.

Note: This is a fixed window measured from the first authorization; it does not extend each time the user returns.

What you need to do

Add the environment_id parameter to your authorization request. You already receive the environment_id value in the token response when a user first consents, so you can store it and reuse it on subsequent authorization requests. No other changes are required, and there is no change to how you exchange the authorization code for tokens.

Learn more

See the updated authorization code flow tutorials for confidential and public applications, and the Authorization overview, for details on the environment_id parameter and the consent-bypass behavior.

Categories