A simple static tool to decode SAML HTTP-Redirect (deflated and Base64 encoded) requests.
- Open
index.htmlin your web browser. - Paste the full URL containing the
SAMLRequest=parameter into the first textarea. - Click the Decode button.
- The decoded and formatted SAML XML request appears in the second textarea.
Hosted on S3 + CloudFront via GitHub Actions. All infrastructure is defined in CloudFormation.
Edit cloudformation/bootstrap.yaml before deploying:
| Parameter | Default | Description |
|---|---|---|
MainStackName |
saml-decode |
Stack name — also becomes the subdomain (saml-decode.example.com) |
GitHubRepo |
kallu/SAMLdecode |
GitHub repo in owner/repo format |
GitHubBranch |
master |
Branch allowed to deploy |
HostedZoneId |
Z33QVR4S16MSXY |
Route 53 hosted zone ID |
Edit cloudformation/saml-decode.yaml for the domain:
| Parameter | Default | Description |
|---|---|---|
HostedZoneId |
Z33QVR4S16MSXY |
Route 53 hosted zone ID |
DomainSuffix |
carriagereturn.nl |
Base domain |
Run once manually to create the GitHub Actions OIDC provider and deploy role:
aws cloudformation deploy \
--stack-name saml-decode-bootstrap \
--template-file cloudformation/bootstrap.yaml \
--capabilities CAPABILITY_NAMED_IAM \
--region us-east-1After that, every push to master automatically deploys infrastructure and uploads changed static assets.
Edit bom.txt — the workflow will upload new files and delete removed ones from S3.
index.html: Main HTML page with embedded scripts and styles.jquery-3.7.1.min.js: jQuery dependency.uneval.js,base64.js,rawinflate.js,rawdeflate.js,formatxml.js: JavaScript libraries for URL decoding, base64 decoding, inflation/deflation etc.
