Entra App Redirect URI Reviewer
Save your app registrations with the az CLI (or paste a manifest) and ask your agent to run this skill.
Free
What it does
- Reads app registrations from az ad app output, a manifest or a value list
- Flags http, wildcard and fragment redirect URIs as blockers
- Warns about leftover localhost, tunnel and bare IP hosts on apps that also have real URIs
- Warns about duplicate URIs, custom schemes on web apps and out-of-band URIs
- Warns when implicit grant is on or the sign-in audience reaches beyond your tenant
- Notes shared-domain hosts so you can confirm the resource still exists
Who it's for
Identity engineers
A short list of risky redirect URIs for every app
Try asking: “Review these app registrations for risky redirect URIs”
Security reviewers
Evidence of http, wildcard and leftover test URIs
Try asking: “Which of these apps still allow implicit grant?”
Entra App Redirect URI Reviewer
Example session with this skill installed
Command: python3 scripts/review_redirect_uris.py examples/dirty/apps.json
- Read your context and instructions
- Compiled the entra app redirect
The sample app has an http address, a wildcard, a fragment, a leftover localhost address, a bare IP, a tunnel host, a custom scheme on the web platform, a duplicate across platforms, implicit grant turned on and a wide sign-in audience.
[BLOCKER] apps.json: app 'Contoso Portal' web redirect URI '(http) portal.example.com/signin-oidc': uses http for a non-local host; codes and tokens travel in clear text
[BLOCKER] apps.json: app 'Contoso Portal' web redirect URI '(https) *.example.com/callback': contains a wildcard; redirect URIs must match exactly
[WARN] apps.json: app 'Contoso Portal' web redirect URI '(https) localhost:5001/signin-oidc': local development URI left on an app that also has non-local URIs
[WARN] apps.json: app 'Contoso Portal' web redirect URI '(https) 203.0.113.7/auth': host is a bare IP address
[WARN] apps.json: app 'Contoso Portal' web redirect URI '(https) (tunnel host)/auth': temporary tunnel host; remove it when testing ends
[INFO] apps.json: app 'Contoso Portal' web redirect URI '(https) (app service host)/signin-oidc': shared-domain host; confirm the resource still exists so nobody else can claim the name
[WARN] apps.json: app 'Contoso Portal' web redirect URI '(myapp) callback': custom scheme on a web platform; custom schemes belong on a public client
[BLOCKER] apps.json: app 'Contoso Portal' web redirect URI '(https) portal.example.com/auth#done': contains a fragment, which a redirect URI must not have
[WARN] apps.json: app 'Contoso Portal' publicClient redirect URI 'urn:ietf:wg:oauth:2.0:oob': out-of-band URI; use a loopback or broker redirect instead
[WARN] apps.json: app 'Contoso Portal': redirect URI '(https) portal.example.com/signin-oidc' differs only by case or trailing slash (platforms: spa, web)
[WARN] apps.json: app 'Contoso Portal': implicit grant issues access tokens in the redirect; use the authorization code flow with PKCE
[WARN] apps.json: app 'Contoso Portal': implicit grant issues ID tokens in the redirect; use the authorization code flow with PKCE
[WARN] apps.json: app 'Contoso Portal': sign-in audience allows any work, school or personal account; confirm that is intended
Summary: 3 blocker(s), 9 warning(s), 1 app(s), 1 file(s)
Command: python3 scripts/review_redirect_uris.py examples/clean
The clean sample uses https addresses, a loopback address on a public client, no implicit grant and a single-tenant audience, and returns exit code 0:
Summary: 0 blocker(s), 0 warning(s), 1 app(s), 1 file(s)
Connects securely to your tools. The creator never sees your data.
About this skill
Every Entra app registration lists the places a sign-in may send people back to. Over time those lists collect mistakes: a plain http address, a wildcard, a test tunnel nobody removed, the same address on two platforms. Any of them can weaken sign-in, and they are hard to spot in the portal.
Save your app registrations with the az CLI (or paste a manifest) and ask your agent to run this skill. It reads the files on your machine, never contacts Azure, and returns a short list: blockers to fix first, warnings to review, and notes to confirm. Each line names the app, the platform and the address, without showing any secret.
It also checks whether implicit grant is turned on and who is allowed to sign in. Example files with expected results are included so you can see it work before you use your own data.
- It reads exported JSON only; it cannot see consent grants, permissions, secrets, certificates or conditional access.
- It cannot tell whether a redirect host is still yours; shared-domain hosts are only noted.
- The expected shapes are the Graph application object and the older manifest; other exports may be missed.
- Redirect URI rules differ by platform and tenant settings; findings are advice, not a list of what Entra will reject.
- Reports and explains; it never edits an app registration.
A single standard-library Python script. It makes no network calls and never writes files. Give it files or directories; it reads .json. Accepted input: az ad app list or show output (Graph shape with web, spa and publicClient redirectUris), a value list, or the older manifest shape (replyUrls, replyUrlsWithType, oauth2AllowImplicitFlow, availableToOtherTenants). Each URI is checked for: http on a non-local host, a wildcard, a fragment, the out-of-band urn, a custom scheme on a web or spa platform, a bare IP host, a tunnel host (ngrok, localtunnel and similar), a local host (loopback on a public client is expected and skipped), a shared domain host (INFO), duplicates ignoring case and a trailing slash, and more than 20 URIs. App settings checked: implicit grant for access or ID tokens, and sign-in audience (any tenant, or personal accounts). Exit codes: 0 no blockers, 1 blockers found, 2 bad arguments. Options: --format json, --hide-info.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed today
- Free with an Agensi account
Permissions
What's inside
Frequently Asked Questions
New in Security
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.