-
Notifications
You must be signed in to change notification settings - Fork 80
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
feat: thirdparty re-work #471
Merged
Merged
Conversation
This file contains 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
rishabhpoddar
requested changes
Jan 10, 2023
rishabhpoddar
requested changes
Jan 11, 2023
rishabhpoddar
approved these changes
Jan 16, 2023
This was referenced Jul 10, 2023
Merged
* fix: test fixes * fix: claims build * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: cleanup * fix: tests * fix: tests * fix: pr comments
* fix: test fixes * fix: claims build * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: cleanup * fix: tests * fix: tests * fix: pr comments * fix: remove error handlers in multitenancy * fix: pr comments * fix: pr comments
* fix: tenantid compulsory * fix: type fix * fix: type fix
12 tasks
* fix: tenant id in global claim validators * fix: pr comments
* Remove core config from dashboard tenants list response * Update tenant list API logic
…e functions (#636) * Remove core config from dashboard tenants list response * Fix tenant id being passed in the wrong order for password update functions * Add user PUT api to list * Update tenant list API logic * Update CHANGELOG
* fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: test * fix: tests * fix: tests
* fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: tests * fix: test * fix: tests * fix: tests * fix: tests
* fix: handle tenant not found error * fix: pr comments * fix: pr comments
* fix: github * fix: user info * fix: discord and linkedin * fix: gitlab impl * fix: bitbucket impl
* fix: tests * fix: tests * fix: framework tests with tenantid in path * fix: tests * fix: google workspaces
* fix: tests * fix: tests * fix: framework tests with tenantid in path * fix: tests * fix: google workspaces * fix: version updates * chore: changelog * fix: pr comments * fix: pr comments * fix: pr comments * fix: pr comments * fix: pr comments
* fix: auth-react-server * fix: auth-react-server
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary of change
(A few sentences about this PR)
Related issues
Test Plan
tenantId
with different valid and invalid values to ensure router does not breaktenantId
tenantId
makeDefaultUserContext
to ensure it's called from frameworks only.Documentation changes
(If relevant, please create a PR in our docs repo, or create a checklist here highlighting the necessary changes)
Checklist for important updates
coreDriverInterfaceSupported.json
file has been updated (if needed)lib/ts/version.ts
frontendDriverInterfaceSupported.json
file has been updated (if needed)package.json
package-lock.json
lib/ts/version.ts
npm run build-pretty
git tag
) in the formatvX.Y.Z
, and then find the latest branch (git branch --all
) whoseX.Y
is greater than the latest released tag.add-ts-no-check.js
file to include thatsomeFunc: function () {..}
).Progress tracking
tenantId
- DONE (node)userContext
in the frameworks and remove from API implementations - DONE (node)MultitenancyRecipe.getTenantId
in the router - DONE (node)fetchValue
in claims to accept tenantId & update allowedDomainsClaim to use itRemaining TODOs for this PR
listThirdPartyConfigsForThirdPartyId
response in FDIdeleteTenant
response (didExist
) in FDIgetAllowedDomainsForTenantId
should return only string[]getAllowedDomainsForTenantId
takesuserContext
, check why it complained in docs_
param in the codebase to see iftenantId
is being ignored in any of the place where it is required. especially session claimssession.getAccessTokenPayload().tId
. Once such instance in in the email verification recipe generateEmailVerifyTokenPOST{apiDomain}/{apiBasePath}/<tenantId>/api/...
validate
in the formFields config also needs to take in a tenantId by the way (non optional in the func definition).session
object part (also change CDI spec, but not version).io.supertokens.multitenancy.exception.BadPermissionException: You must use the public tenantId and, public or same appId to add/update an app
io.supertokens.multitenancy.exception.BadPermissionException: Not allowed to modify DB related configs.
is coming when updating the public app config via the public app itself - change messagehttp://localhost:3567/appid-
to the core?/apiversion
API behaviour when default CDI version is set to return until that versionPR breakups
getGlobalClaimValidators
- fix: tenant id in get global claim validators #634