Skip to content

fix(idp): use default org for user creation if no context detected #433

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

Merged
merged 14 commits into from
Apr 24, 2025

Conversation

peintnermax
Copy link
Member

@peintnermax peintnermax commented Apr 24, 2025

This PR fixes an issue for IDPs where a user was not created if no explicit context was found by searchParam or its user domain.

Closes #416

dependabot bot and others added 14 commits April 15, 2025 00:19
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.32.0 to 0.35.0.
- [Commits](golang/crypto@v0.32.0...v0.35.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.35.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…/oidc/golang.org/x/crypto-0.35.0

chore(deps): bump golang.org/x/crypto from 0.32.0 to 0.35.0 in /acceptance/oidc
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](golang-jwt/jwt@v4.5.1...v4.5.2)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…/saml/github.com/golang-jwt/jwt/v4-4.5.2

chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 in /acceptance/saml
fix: add session context for mfa set page skip
Bumps the dev group with 29 updates:

| Package | From | To |
| --- | --- | --- |
| [@faker-js/faker](https://github.com/faker-js/faker) | `9.2.0` | `9.7.0` |
| [@changesets/cli](https://github.com/changesets/changesets) | `2.27.9` | `2.29.2` |
| [@playwright/test](https://github.com/microsoft/playwright) | `1.48.2` | `1.52.0` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.17.17` | `22.14.1` |
| [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `4.3.3` | `4.4.1` |
| [axios](https://github.com/axios/axios) | `1.8.3` | `1.8.4` |
| [dotenv](https://github.com/motdotla/dotenv) | `16.4.5` | `16.5.0` |
| [prettier](https://github.com/prettier/prettier) | `3.3.3` | `3.5.3` |
| [tsup](https://github.com/egoist/tsup) | `8.3.5` | `8.4.0` |
| [turbo](https://github.com/vercel/turborepo) | `2.2.3` | `2.5.0` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `5.8.3` |
| [vite-tsconfig-paths](https://github.com/aleclarson/vite-tsconfig-paths) | `5.1.2` | `5.1.4` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `2.1.4` | `3.1.2` |
| [@bufbuild/buf](https://github.com/bufbuild/buf) | `1.46.0` | `1.53.0` |
| [@testing-library/react](https://github.com/testing-library/react-testing-library) | `16.0.1` | `16.3.0` |
| [@types/ms](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ms) | `0.7.34` | `2.1.0` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.4.20` | `10.4.21` |
| [concurrently](https://github.com/open-cli-tools/concurrently) | `9.1.0` | `9.1.2` |
| [cypress](https://github.com/cypress-io/cypress) | `13.15.2` | `14.3.2` |
| [grpc-tools](https://github.com/grpc/grpc-node) | `1.12.4` | `1.13.0` |
| [jsdom](https://github.com/jsdom/jsdom) | `25.0.1` | `26.1.0` |
| [lint-staged](https://github.com/lint-staged/lint-staged) | `15.2.10` | `15.5.1` |
| [nodemon](https://github.com/remy/nodemon) | `3.1.7` | `3.1.9` |
| [postcss](https://github.com/postcss/postcss) | `8.4.49` | `8.5.3` |
| [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) | `0.6.8` | `0.6.11` |
| [sass](https://github.com/sass/dart-sass) | `1.80.7` | `1.87.0` |
| [start-server-and-test](https://github.com/bahmutov/start-server-and-test) | `2.0.8` | `2.0.11` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `3.4.14` | `4.1.4` |
| [ts-proto](https://github.com/stephenh/ts-proto) | `2.2.7` | `2.7.0` |


Updates `@faker-js/faker` from 9.2.0 to 9.7.0
- [Release notes](https://github.com/faker-js/faker/releases)
- [Changelog](https://github.com/faker-js/faker/blob/next/CHANGELOG.md)
- [Commits](faker-js/faker@v9.2.0...v9.7.0)

Updates `@changesets/cli` from 2.27.9 to 2.29.2
- [Release notes](https://github.com/changesets/changesets/releases)
- [Changelog](https://github.com/changesets/changesets/blob/main/docs/modifying-changelog-format.md)
- [Commits](https://github.com/changesets/changesets/compare/@changesets/cli@2.27.9...@changesets/cli@2.29.2)

Updates `@playwright/test` from 1.48.2 to 1.52.0
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.48.2...v1.52.0)

Updates `@types/node` from 20.17.17 to 22.14.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@vitejs/plugin-react` from 4.3.3 to 4.4.1
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.4.1/packages/plugin-react)

Updates `axios` from 1.8.3 to 1.8.4
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.8.3...v1.8.4)

Updates `dotenv` from 16.4.5 to 16.5.0
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](motdotla/dotenv@v16.4.5...v16.5.0)

Updates `prettier` from 3.3.3 to 3.5.3
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.3.3...3.5.3)

Updates `tsup` from 8.3.5 to 8.4.0
- [Release notes](https://github.com/egoist/tsup/releases)
- [Commits](egoist/tsup@v8.3.5...v8.4.0)

Updates `turbo` from 2.2.3 to 2.5.0
- [Release notes](https://github.com/vercel/turborepo/releases)
- [Changelog](https://github.com/vercel/turborepo/blob/main/release.md)
- [Commits](vercel/turborepo@v2.2.3...v2.5.0)

Updates `typescript` from 5.6.3 to 5.8.3
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](microsoft/TypeScript@v5.6.3...v5.8.3)

Updates `vite-tsconfig-paths` from 5.1.2 to 5.1.4
- [Release notes](https://github.com/aleclarson/vite-tsconfig-paths/releases)
- [Commits](aleclarson/vite-tsconfig-paths@v5.1.2...v5.1.4)

Updates `vitest` from 2.1.4 to 3.1.2
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.1.2/packages/vitest)

Updates `@bufbuild/buf` from 1.46.0 to 1.53.0
- [Release notes](https://github.com/bufbuild/buf/releases)
- [Changelog](https://github.com/bufbuild/buf/blob/main/CHANGELOG.md)
- [Commits](bufbuild/buf@v1.46.0...v1.53.0)

Updates `@testing-library/react` from 16.0.1 to 16.3.0
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](testing-library/react-testing-library@v16.0.1...v16.3.0)

Updates `@types/ms` from 0.7.34 to 2.1.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ms)

Updates `autoprefixer` from 10.4.20 to 10.4.21
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](postcss/autoprefixer@10.4.20...10.4.21)

Updates `concurrently` from 9.1.0 to 9.1.2
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](open-cli-tools/concurrently@v9.1.0...v9.1.2)

Updates `cypress` from 13.15.2 to 14.3.2
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](cypress-io/cypress@v13.15.2...v14.3.2)

Updates `grpc-tools` from 1.12.4 to 1.13.0
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/grpc-tools@1.12.4...grpc@1.13.0)

Updates `jsdom` from 25.0.1 to 26.1.0
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md)
- [Commits](jsdom/jsdom@25.0.1...26.1.0)

Updates `lint-staged` from 15.2.10 to 15.5.1
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v15.2.10...v15.5.1)

Updates `nodemon` from 3.1.7 to 3.1.9
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](remy/nodemon@v3.1.7...v3.1.9)

Updates `postcss` from 8.4.49 to 8.5.3
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.49...8.5.3)

Updates `prettier-plugin-tailwindcss` from 0.6.8 to 0.6.11
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](tailwindlabs/prettier-plugin-tailwindcss@v0.6.8...v0.6.11)

Updates `sass` from 1.80.7 to 1.87.0
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](sass/dart-sass@1.80.7...1.87.0)

Updates `start-server-and-test` from 2.0.8 to 2.0.11
- [Release notes](https://github.com/bahmutov/start-server-and-test/releases)
- [Commits](bahmutov/start-server-and-test@v2.0.8...v2.0.11)

Updates `tailwindcss` from 3.4.14 to 4.1.4
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.4/packages/tailwindcss)

Updates `ts-proto` from 2.2.7 to 2.7.0
- [Release notes](https://github.com/stephenh/ts-proto/releases)
- [Changelog](https://github.com/stephenh/ts-proto/blob/main/CHANGELOG.md)
- [Commits](stephenh/ts-proto@v2.2.7...v2.7.0)

---
updated-dependencies:
- dependency-name: "@faker-js/faker"
  dependency-version: 9.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: "@changesets/cli"
  dependency-version: 2.29.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: "@playwright/test"
  dependency-version: 1.52.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: "@types/node"
  dependency-version: 22.14.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 4.4.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: axios
  dependency-version: 1.8.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: dotenv
  dependency-version: 16.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: prettier
  dependency-version: 3.5.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: tsup
  dependency-version: 8.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: turbo
  dependency-version: 2.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: typescript
  dependency-version: 5.8.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: vite-tsconfig-paths
  dependency-version: 5.1.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: vitest
  dependency-version: 3.1.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev
- dependency-name: "@bufbuild/buf"
  dependency-version: 1.53.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: "@testing-library/react"
  dependency-version: 16.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: "@types/ms"
  dependency-version: 2.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev
- dependency-name: autoprefixer
  dependency-version: 10.4.21
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: concurrently
  dependency-version: 9.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: cypress
  dependency-version: 14.3.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev
- dependency-name: grpc-tools
  dependency-version: 1.13.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: jsdom
  dependency-version: 26.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev
- dependency-name: lint-staged
  dependency-version: 15.5.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: nodemon
  dependency-version: 3.1.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: postcss
  dependency-version: 8.5.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: prettier-plugin-tailwindcss
  dependency-version: 0.6.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: sass
  dependency-version: 1.87.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: start-server-and-test
  dependency-version: 2.0.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: tailwindcss
  dependency-version: 4.1.4
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev
- dependency-name: ts-proto
  dependency-version: 2.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
...

Signed-off-by: dependabot[bot] <support@github.com>
…621a0b

chore(deps-dev): bump the dev group with 29 updates
Copy link

vercel bot commented Apr 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
typescript-login ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2025 9:00am

@peintnermax peintnermax changed the base branch from main to qa April 24, 2025 12:29
@peintnermax peintnermax merged commit ecc9a26 into qa Apr 24, 2025
9 checks passed
@peintnermax peintnermax deleted the fix-idp-callback branch April 24, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Social login "No user found"
2 participants