-
Notifications
You must be signed in to change notification settings - Fork 513
feat: mock SAML 2.0 IdP for testing #1395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
d4d25f6
feat(mock-saml-idp): scaffold mock SAML 2.0 IdP for SAML SSO testing
BilalG1 6c7b14b
feat: wire mock-saml-idp into CI, snapshots, and seed dummy data
BilalG1 4949a9c
fix(seed): use whole-entry config writes for SAML connections
BilalG1 0e59570
fix(lockfile): regenerate after removing body-parser dep from mock-sa…
BilalG1 aaeb831
fix(test): drop overbroad SAML ID strip regex from snapshot serializer
BilalG1 1e912c7
fix(seed): serialize SAML seed; drop overlay cast
BilalG1 7dacbc4
fix(test): use matched cookie prefix in snapshot serializer
BilalG1 c25cc8a
chore(mock-saml-idp): tidy ESLint config and dev-only deps
BilalG1 18567fb
chore(mock-saml-idp): switch to port suffix 42 to avoid collision
BilalG1 77e4fae
fix(mock-saml-idp): split buildAssertion + replay full POST body
BilalG1 6b8cd7e
chore(backend): defer SAML seed + node-saml dep to stacked backend PR
BilalG1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| module.exports = { | ||
| "extends": [ | ||
| "../../configs/eslint/defaults.js", | ||
| ], | ||
| "ignorePatterns": ['/*', '!/src'] | ||
| }; | ||
|
BilalG1 marked this conversation as resolved.
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| { | ||
| "name": "@stackframe/mock-saml-idp", | ||
| "version": "2.8.86", | ||
| "repository": "https://github.com/stack-auth/stack-auth", | ||
| "private": true, | ||
| "main": "index.js", | ||
| "scripts": { | ||
| "start": "tsx src/index.ts", | ||
| "dev": "tsx watch --clear-screen=false src/index.ts", | ||
| "typecheck": "tsc --noEmit", | ||
| "lint": "eslint --ext .tsx,.ts .", | ||
| "clean": "rimraf dist && rimraf node_modules" | ||
| }, | ||
| "dependencies": { | ||
| "express": "^4.21.2", | ||
| "handlebars": "^4.7.8", | ||
| "node-forge": "^1.3.1", | ||
| "samlify": "^2.10.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/express": "^5.0.0", | ||
| "@types/node-forge": "^1.3.11", | ||
| "tsx": "^4.16.2" | ||
| }, | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
| "packageManager": "pnpm@10.23.0" | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.