Skip to main content
Next Defence - Next-Gen AI Cyber Security Firm
Australia & New Zealand[email protected](02) 9064 2614
INSIGHT

A Practical Audit of SaaS-to-SaaS OAuth Permissions

A departing employee originally approved a reporting integration that can still read and update customer records across connected SaaS products. Assess what works, what can fail and how to validate the control safely.

An employee links a sales platform to a reporting tool. The connection appears routine, but the consent screen authorises ongoing access to read customer information, send messages or modify records. Months later, the employee leaves, the integration remains active and no one can explain which service is responsible for it. That is why SaaS integration security needs its own asset register—not merely an employee account review.

Understand what was actually granted

OAuth authorisation is not inherently unsafe. It is a common mechanism for applications to obtain scoped access without sharing a user’s password. Problems arise when a business cannot see which applications have permission, what data they can access, which tenant approved them and whether the permissions still serve a legitimate purpose. Distinguish delegated grants that operate in a user’s context from application permissions that can operate independently. Depending on the platform, refresh tokens and other retained credentials can extend the effective life of access.

A security team should avoid calling every unfamiliar application malicious. Many authorised integrations have broad permissions for genuine reasons. The job is to establish purpose, ownership, least privilege and revocation readiness, then investigate exceptions with the application owner.

Create an integration inventory with evidence

Export consent grants, service principals or equivalent connected-app records from each major identity and SaaS platform. Record the application identifier, publisher or verified provenance, permission strings, approval date, approving administrator, assigned users, last observed activity, data categories, owner and renewal date. Treat the vendor’s display name as a clue, not definitive proof of identity. Similar names can represent different applications.

The highest-value review is often the relationship between permissions and business operations. A calendar scheduling integration may need calendar access but not broad mail-read capability. A reporting connector may need read-only access to a specific dataset rather than write privileges across every customer record. However, avoid revoking grants merely because the scope seems excessive: first verify whether a narrower vendor-supported configuration exists and whether removing the existing grant will interrupt an approved service.

Review in six controlled stages

  1. Discover. Pull current app registrations and grants from identity administration, plus each major SaaS platform’s own connected-app view. Compare the two; not every integration is visible in the same console.
  2. Identify. Match each grant to a business sponsor, technical owner, supplier contract and supported use case. Flag orphans for investigation rather than immediate deletion.
  3. Scope. Rank access by data sensitivity, write capability, tenant-wide consent, unattended execution and ability to send external communications.
  4. Observe. Review sign-in, token use and audit logs to see whether the grant is active. Absence of a log entry is not proof of inactivity if telemetry coverage or retention is limited.
  5. Reduce. Work with the owner to remove unused access, narrow scopes, rotate credentials where warranted and require controlled approval for high-impact applications.
  6. Validate. Test the legitimate workflow after change and attempt an unauthorised action with a purpose-built test identity. Preserve the successful and denied outcomes.

Where platforms support publisher verification, app consent policies or administrator approval workflows, configure them to reflect the organisation’s risk. Do not assume every integration needs tenant-wide consent. A read-only export in a contained business unit should not automatically become a directory-wide grant.

The offboarding test many organisations miss

Run an illustrative exercise around a departed employee who originally connected a finance automation tool. Confirm whether the automation still executes, under whose authority and who now owns its secrets and support arrangement. Then test revoking the former employee’s sessions and the integration grant separately. A user account being disabled does not always close an application-only access path.

Acceptance evidence should show the permission set before and after, the business workflow test, the owner who accepted any residual access and the next review date. Keep the logs and screenshots in a restricted register because they may expose internal application architecture or customer data.

Make this part of procurement and renewal

New integrations should have a standard request describing data accessed, scopes required, storage locations, subcontractors, breach notification contact, deletion method and how the business will disconnect the application. At contract renewal, revalidate actual permissions rather than accepting a questionnaire completed when the service was first purchased. Require service owners to account for integrations linked to departed employees and retired projects.

The outcome is not a target of zero OAuth grants. It is the ability to explain every significant grant, justify its reach and shut it down without guesswork.

A quarterly review that scales

Avoid turning a permission audit into a one-off spreadsheet that no one maintains. Route new integrations through the existing procurement or change process and make the owner confirm continued need at an agreed interval. When the same supplier is connected to several products, consider whether each connection is still required: separate tenants can have different scopes, administrators and data classes. For the highest-risk grants, require technical evidence that removal or narrowing will not block revenue-critical work.

A useful exception record contains the specific permission left in place, reason a narrower scope was not practical, monitoring performed, accountable owner and expiry date. Do not record an exception as ‘vendor requires access’ without an explanation of what the vendor performs. If the application disappears from the vendor’s support catalogue or the internal sponsor leaves, trigger a review rather than allowing the exception to roll forward indefinitely.

Further reading: NIST Cybersecurity Framework and the relevant identity provider’s current application-consent administration guidance.

Further tests for a repeatable exercise

For the proposed assessment, arrange to export OAuth client IDs, publishers, consent type, scopes, authorising identities and grant dates, keeping identity-platform export and SaaS supplier inventory as the initial reference. The second test should show that the owner understands which record types are reachable and whether an app-only grant exists. These are planned checks using a safe case, not verified observations about any named organisation.

Evidence collection has its own boundary in OAuth application permission governance. Decide which records may be copied and who may view scope reference, sample resource and application contract; then have the SaaS application owner and identity security lead plan export OAuth client IDs, publishers, consent type, scopes, authorising identities and grant dates under a documented stop condition. Delegated and application permissions differ by provider. An administrative consent screen is not proof of what a running service can access.

Discover grant provenance

Under the approved scope, the SaaS application owner and identity security lead should export OAuth client IDs, publishers, consent type, scopes, authorising identities and grant dates. The result is acceptable when each integration is tied to a real owner, tenant and documented business purpose. Preserve identity-platform export and SaaS supplier inventory as the reproducible source of the conclusion.

Check the exception carefully: an unfamiliar client name alone is not evidence of compromise. Where this applies to OAuth application permission governance, the SaaS application owner and identity security lead should explain how to remain safe until identity-platform export and SaaS supplier inventory can be independently reviewed.

Map data actions

For the next check, have the SaaS application owner and identity security lead translate API scopes such as mail read, offline access or write privileges into concrete business operations. It should demonstrate that the owner understands which record types are reachable and whether an app-only grant exists. Use scope reference, sample resource and application contract to compare the authorised operation against the specific unsafe alternative.

A specific caution to discuss is: least privilege cannot be decided from a marketing feature description. In this OAuth application permission governance scenario, scope reference, sample resource and application contract should clarify whether the owner understands which record types are reachable and whether an app-only grant exists was really observed. Keep any exception open if it cannot.

Observe actual use

With an appropriate witness, the SaaS application owner and identity security lead should compare recent API activity, token issuance and resource audit trails with the declared purpose. A passing outcome means that active integrations have identifiable service accounts, legitimate endpoints and relevant logs. Capture resource-side event samples and API usage summary and link it to the relevant change or incident record.

The reviewer needs to consider this caveat: an unused client may still hold a valid dormant credential. It affects whether active integrations have identifiable service accounts, legitimate endpoints and relevant logs; the SaaS application owner and identity security lead must identify the next check and its owner rather than generalising from a limited sample.

Offboard the sponsor

The owner can explore this by arranging to remove a synthetic employee access path while leaving an approved system integration in place. The acceptance statement is that remaining service access follows intended application ownership rather than an individual’s employment. Save identity changes and verified API outcome for comparison after supplier or configuration changes.

Do not lose sight of this risk: turning off a user does not necessarily revoke an app-only credential. A defensible OAuth application permission governance finding should use identity changes and verified API outcome to distinguish accepted conditions from those requiring further action.

Revoke a test grant

Another useful verification is to disconnect a safe trial app and attempt access using a previously issued test token. The desired observation is that the protected API rejects disallowed access after applicable revocation and expiry behaviour. Preserve grant change, token lifetime and receiving API result as the basis for a later independent review.

One unresolved issue may remain: do not promise immediate invalidation where provider token semantics differ. For OAuth application permission governance, grant change, token lifetime and receiving API result helps determine whether the protected API rejects disallowed access after applicable revocation and expiry behaviour; if not, keep a specific retest and owner in the register.

Contractual readiness

To assess this boundary, the SaaS application owner and identity security lead should ask the provider for deletion, breach reporting, subprocessor and administrative support evidence. An acceptable observation would show that procurement can identify who can revoke access and how exported data is handled. Retain contract review and operational runbook with its collection date and the baseline used for comparison.

Practical caution: removing OAuth consent cannot erase copies already stored by a vendor. This matters in OAuth application permission governance because procurement can identify who can revoke access and how exported data is handled cannot be presumed without examining contract review and operational runbook. List any remaining uncertainty for the next safe review.

Consent revocation and third-party data custody are different questions

A SaaS-to-SaaS connector may continue using app-only credentials even after the sponsoring employee departs, and it may keep an export copied before the grant was removed. An audit therefore needs two scopes: the right to obtain fresh records from the source and the supplier’s handling of material already collected. Review the distinction between delegated grants, application scopes and administrator consent for each platform rather than assuming the same labels mean the same thing. A safe trial should attempt an authorised API call and a forbidden resource request against test data. Repeat after revocation and record the target service’s response, including any expected token-lifetime delay.

Evidence needed for an independent decision

Pair identity-platform grant exports with source-system audit events, the integration owner’s documented purpose, and the supplier’s retention or deletion obligations. For each exception, state which exact resource remains reachable, why the business needs it and which service owner accepted the exposure. Removing a client from an app catalogue is not a substitute for verifying the protected API no longer honours that grant.

Boundaries, owner sign-off and source review

A paper exercise is not the same as tested production assurance. Delegated and application permissions differ by provider. An administrative consent screen is not proof of what a running service can access. If a later exercise revokes a synthetic employee’s delegated access while leaving an approved system integration active, capture the identity changes, verified API outcomes and any environment differences. Do not reuse the article as definitive legal, technical or vendor-specific advice without current review.

For a SaaS-to-SaaS OAuth audit, revoke a synthetic employee’s delegated consent while retaining a separately approved application integration. Confirm actual API responses for both identities, then review the supplier’s obligations for data already exported. Keep grant inventory, request logs and the vendor contract owner’s decision. Cloud, Identity & Data Security can help scope permission and data-custody verification.

Sources and further reading

LET'S TALK

Let’s talk about your security.

Tell us what you are protecting, where you need greater visibility or what you want to achieve. We will help identify the right next step.

Talk to a Security Specialist

Describe your security requirements. Please do not submit passwords, credentials or confidential incident evidence. This form is not an emergency incident-response channel.

Form powered by HubSpot. Review our Privacy Policy. If the form doesn’t load, email [email protected].