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

OAuth App Consent Review: Research Tenant Worksheet

Review dormant OAuth grants and delegated app permissions in a university research tenant, including access that survives the original project.

The operating problem

A university tenant contains years of consented research applications, laboratory collaboration tools and guest projects. A funded study finishes, but its app retains delegated access to shared drives containing information from later projects. An inventory of application names is not enough to determine what a service can still read or modify.

What the owner must establish

Research IT should discover every meaningful app grant, connect it to an active project owner, understand effective permissions and revoke obsolete access without breaking live ethical or operational obligations.

A discontinued research integration must not keep broad drive permissions, offline refresh tokens or a persistent service principal that can retrieve unrelated project files.

System, information and authority in scope

OAuth consent grants, app registration credentials, delegated and application permissions, research project registry, drive ownership, sponsor identity, access tokens, integration jobs and retention rules.

An app that has not signed in recently can still hold a valid credential, and revoking a visible user consent may not remove application-wide authority.

Research project sponsor confirms business necessity, tenant administrator reviews grants, data steward protects sensitive research records and security team tests revocation.

Validation 1: Discover effective grants

Test: Export service principals, delegated scopes, application roles and credential validity from the university test tenant.

Expected evidence-based outcome: Identify grants with broad file access, inactive sponsors or permissions unrelated to the stated project, not just a list of installed applications.

Review material: Consent export, app object identifiers and risk review worksheet.

Validation 2: Project sponsorship

Test: Link a sample integration to a specific live research project and named accountable investigator.

Expected evidence-based outcome: A grant without an active owner must be contained while researchers determine whether it remains necessary for preservation or ongoing collaboration.

Review material: Project register, investigator attestation and temporary restriction.

Validation 3: Least-privilege experiment

Test: Create two fictional project drives and consent an app only for the first through a supported scoped method.

Expected evidence-based outcome: Attempt to enumerate or read the second drive using the same app identity; the denied result should be visible in relevant audit records.

Review material: Token scopes, access-denial trace and drive ownership map.

Validation 4: Refresh token residue

Test: Withdraw an app’s delegated access, then test a previously authorised lab session and a refresh request.

Expected evidence-based outcome: Reviewers should understand effective revocation, token lifetime and cache limitations rather than assuming deletion from an admin screen ends all sessions.

Review material: Grant change, denied refresh and expected token expiry.

Validation 5: Research export obligation

Test: Test whether project data needed for archival or a funding audit remains available after the app is removed.

Expected evidence-based outcome: The offboarding process must preserve authorised research records without preserving unnecessary third-party read access to them.

Review material: Retention plan, export receipt and storage access confirmation.

Validation 6: New consent request

Test: Simulate a new app requesting broader permissions than its approved use case supports.

Expected evidence-based outcome: The consent process should require an accountable reviewer and show which sensitive resource classes the grant could expose before approval.

Review material: Permission risk description, sponsor decision and conditional approval.

Permission breadth can survive a research project’s end

A university authorises a third-party application to organise laboratory collaboration. The project finishes and its lead investigator leaves, but the app registration still has broad permission to read shared files. A cloud application can retain this authority through delegated consent, application roles or unattended credentials even when its interactive users are gone. Begin with the actual permissions granted, the resources reachable and the owner who can explain the research purpose. Do not equate “not used recently” with “safe to keep”. Dormant grants can be valuable to an attacker who obtains an old secret or refresh token.

For each app, record whether its access acts on behalf of a user or independently as a service. The former may depend on user session and consent; the latter may retain authority even without a current researcher login. Review both models separately. A broad read permission over shared drives may cross academic departments and projects that have different confidentiality or ethics restrictions. Prefer a supported resource-scoped permission where the platform permits it, and test the boundary with two synthetic research workspaces. A correctly blocked attempt should demonstrate the security policy rather than merely return an empty folder.

Preserve valid research obligations while revoking access

Removing an obsolete integration must not destroy data needed for funding audits, ethics review or scientific reproducibility. Before revoking an app, identify the original project dataset, authorised export route and retention obligations. Produce a controlled archive or migration copy and verify that researchers can retrieve it under the university’s own identity governance. Then remove the external app’s permission to keep browsing newly created research material. Separating data preservation from application access avoids the false choice between leaving a dangerous grant in place and losing important records.

An application may have jobs that run weekly or seasonally. A seven-day log window can make a valid but unnecessary connection look inactive. Use project sponsorship and supported configuration evidence to complement observed sign-ins. If a service remains necessary, narrow its permissions, give it a named custodian and document credential rotation. For completed projects, ensure the app’s authorisation, secrets, scheduled processes and webhooks are all covered by offboarding. A screen showing “consent removed” does not prove an existing access token has ceased functioning; test revocation in a safe environment and record token-lifetime limitations.

A consent review that researchers will follow

The university should provide a practical approval path for new apps rather than rely on a blanket ban that drives teams to unsanctioned services. Ask applicants to describe the research purpose, exact information needed, vendor, storage location, expected lifetime and who may receive the data. A reviewer should explain any unusually broad requested scope in terms understandable to the investigator. An app asking for read/write access to all organisational files to handle one project folder needs stronger justification or a redesigned integration.

A sample decision may approve a limited grant for six months with logging and a planned closure review. Another may decline a broad application role where a narrow native platform feature is available. Record both decisions and show how they are enforced technically. Researchers should know how to report a suspected app compromise and quickly obtain a controlled replacement for essential work. The success measure is verified effective access mapped to active projects, not simply the number of applications removed. Reassess after permission model changes, new cross-institution collaborations or researcher departures.

Sample research-application decision record

Consider an application that needs read access to a research team’s shared documents for six months. The investigator can confirm the purpose, but the current application grant allows reading all files across the university. Record that as a mismatch between business need and effective authority. Explore whether the platform supports a site-specific or folder-scoped alternative and test it with fictional drives. If a narrow permission model is unavailable, the risk owner must assess isolation, vendor assurance and a retirement date rather than mark the grant acceptable by default.

Include the consent approver, app owner, OAuth permission names, identity type, credential owner, data sensitivity, expected end date and evidence of the negative test. A collaborator leaving a project should trigger reassessment of related delegated permissions. For a service principal, the review must address independent application roles and secrets that can survive the departing user’s account.

Revocation does not mean deleting science

Before removing an obsolete app, establish which research data and collaboration history must be retained. Transfer authorised records to university-controlled storage, then revoke the app’s grants and test residual sessions. Review unattended jobs and old integration callbacks. A project may legitimately need to preserve files without continuing to trust the vendor with live read access. The signoff should come from the data steward and project owner, with a security reviewer confirming the effective permission change.

Track the share of apps tied to current projects, the number of unowned broad grants and the time needed to revoke high-risk access. Periodic checklists should include researcher departures and changes in vendor permissions, not only annual survey dates. This makes consent governance understandable to academics while preserving control of sensitive and valuable research information.

Handling an uncertain research application

Suppose the app owner left the university, the consent record is broad and the integration has no observed activity in the past month. The reviewer should not simply declare it unused or permanently revoke it without considering scheduled archival tasks. Seek a current project sponsor and inspect approved job schedules and data dependencies. If no one can confirm a legitimate need, restrict permissions and retain a time-limited exception while investigating. Document the possible impact of revocation so research continuity is considered alongside access risk.

For a new app, make permissions understandable before consent. A request to access all drives should be explained to the investigator as authority across unrelated research, not just a technical scope string. Encourage scoped alternatives and evidence of vendor processing and deletion practices. Reassess when projects end, collaborators leave or the platform adds new permissions. The university should be able to prove why an application is still trusted with research records today, not only why it was approved years ago.

Cross-project access is an ethical as well as technical concern

A university may hold records under project-specific confidentiality or ethics conditions. An application’s broad permission to all shared files can undermine those boundaries even if researchers never intended to grant it such access. Include research data stewards in high-impact consent reviews, and confirm whether a provider needs identifiable records or can operate on restricted or de-identified information. A narrow technical grant should align with the approved research purpose. Where the platform cannot enforce the required boundary, the university may need a separate workspace or integration design. This decision should be documented before additional sensitive datasets are introduced.

Exception and accountable decision

If a live research workflow genuinely requires an overbroad legacy grant, document the specific dataset, restricted credentials, compensating monitoring and retirement milestone.

Research project sponsor confirms business necessity, tenant administrator reviews grants, data steward protects sensitive research records and security team tests revocation.

Evidence handoff for this decision

For discover effective grants, the receiving owner should obtain Consent export, app object identifiers and risk review worksheet. This needs to match the actual service configuration instead of serving as a generic security assurance. Examine the limitation: An app that has not signed in recently can still hold a valid credential, and revoking a visible user consent may not remove application-wide authority. Before approval, revisit new consent request and assess the outcome against the expected observation: The consent process should require an accountable reviewer and show which sensitive resource classes the grant could expose before approval. If the available evidence proves only an intermediate step, identify the remaining decision and plan a controlled follow-up. The sign-off must distinguish a tested control from an intended improvement, record who may approve an exception and explain what would cause an independent reviewer to reverse the decision.

Sources and further reading

How Next Defence can help

For a controlled assessment tailored to your systems, learn about Cloud, Identity & Data Security. The scenario above is illustrative and should be reviewed by the relevant business and technical owners before adoption.

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].