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
fix: Thirdparty login popup #675
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
size-limit report 📦
|
rishabhpoddar
requested changes
Apr 17, 2023
rishabhpoddar
requested changes
Apr 17, 2023
rishabhpoddar
approved these changes
Apr 17, 2023
porcellus
added a commit
that referenced
this pull request
Apr 24, 2023
* add missing providers & add prop to buttonComponent * fix: Thirdparty login popup (#675) * fix: thirdparty popup example * chore: changelog * fix: adding backend * fix: pr comment * fix: pr comment * fix: pr comment * fix: pr comment * feat: add new providers & add prop to buttonComponent * fix: activeDirectory width * update changelog * Update examples/with-thirdparty-popup/README.md Co-authored-by: Mihály Lengyel <mihaly@lengyel.tech> * fix: providers * fix: move getButton to base class * fix: review comments * Update examples/with-thirdparty-popup/frontend/src/App.tsx Co-authored-by: Mihály Lengyel <mihaly@lengyel.tech> * fixes --------- Co-authored-by: Alisher <alisher@supertokens.com> Co-authored-by: Sattvik Chakravarthy <sattvik@gmail.com> Co-authored-by: Mihály Lengyel <mihaly@lengyel.tech>
rishabhpoddar
pushed a commit
that referenced
this pull request
Jul 19, 2023
* init web-js recipes, supertokens from auth-react * move recipe output type to types.ts * make combined recipes use web-js version * get rid of recipeImplementation for single recipes * add functionOverrides to thirdpartypasswordless recipe * add functionOverrides to thirdpartyemailpassword recipe * get rid of one the duplicate setLoginAttemptInfo calls * fix tests * update changelog * fixes after review * move initOutput type to root types * fix tests * review fixes * review fixes * add build files * use normalisedConfig for webjs init in combined recipes * remove commented code * disable isIE check in order to avoid error * test fixes caused by utils * fix typo * rename recipeImpl -> webJSRecipe for all recipes * add comments * utils-> normalization_function fix * type changes for recipe member * type change, renamein * move config normalization to init for session * Update thirdpartypasswordless comments Co-authored-by: Mihály Lengyel <mihaly@lengyel.tech> * Update thirdpartyemailpassword/recipe comments Co-authored-by: Mihály Lengyel <mihaly@lengyel.tech> * review fixes * reuse action type for RecipeInitResult * move onHandelEvent call to combined recipe overrides * fixes-session, overrides * add callbacks to isVerified claim * fix exampleTestHelper * fix build folder * add auth-react boolean claim * extend web-js claims * fix tests, rename callbacks * review fixes * fix tests * use web-js import instead of website * fix type GetRedirectionURLContext, add comment, pass context to getGlobalClaim function calls * fix duplication * move helper function to utils * fix emailverification wrapper type * self review fixes * second round review fixed * add access-denied page * add ability to override and change style of access-denied screen * add denial info to access denied page * update example apps * fix rollup watch mac issue * review fixes * fix redirection priorities * move cliam functions to session utils * fix util function * add unit tests for new utils function * initial splitting * create class for each recipe to handle routes * review fixes for /lib * update examples * fix partially sessionAuth tests * fix: typo * fix: sessionAuth test * update changelog * fix lintiing issues * fix tests * Merge branch '0.31' into 'feat/splitting-prebuild-ui-components' * fix: partially unit test * fix: unit test case * fix: broken components overriding after merge * fix: move themeBase & fix example app * fix: type fix * fix: access denial info * fix: exporting claims from auth-react * fix: review fixes * fix: by review comments * fix: adjust access-denied page * more review fixes * fix: review fixes * change implementataion & access denied page design * fix: default page & review changes * fix: default failed claim when none has callback * css: override container width * fix: review comments * fix: add comment * fix: respect rid when rendering UIs * fix tests * fix: add underscore prefix * test: add test for back button * fix: emailverification prebuilt ui * fix: review changes * fix no router case * fix: prebuiltui components types exoprt * fix: emailverification exports * fix: test apps * fix: adjust routing component to handle duplicate renders * feat: clean up onSuccessRedirection and add showAccessDeniedOnFailure * fix: e2e tests * update changelog * fix: example apps * fix examples & changelog * fix: preBuiltUI -> prebuiltui * fix filename casing * fix: preBuiltUI -> prebuiltui * fix filename casing * expose signle routing functons * rename: prebuiltui->ui * update test apps * fix: unit tests * preBuiltUI -> prebuiltui * update changelog * update example apps * getSuperTokensReactRouterDomRoutes casing fix * getSuperTokensReactRouterDomRoutes casing fix * review fixes * review fixes * review fixes * wip * fix: review comments(preBuiltUI interface consistency) * parent c3935c9 author Alisher <alisher@supertokens.com> 1679996212 +0400 committer Alisher <alisher@supertokens.com> 1682072680 +0400 feat: multitenancy * feat: thirdparty rework (#676) * add missing providers & add prop to buttonComponent * fix: Thirdparty login popup (#675) * fix: thirdparty popup example * chore: changelog * fix: adding backend * fix: pr comment * fix: pr comment * fix: pr comment * fix: pr comment * feat: add new providers & add prop to buttonComponent * fix: activeDirectory width * update changelog * Update examples/with-thirdparty-popup/README.md Co-authored-by: Mihály Lengyel <mihaly@lengyel.tech> * fix: providers * fix: move getButton to base class * fix: review comments * Update examples/with-thirdparty-popup/frontend/src/App.tsx Co-authored-by: Mihály Lengyel <mihaly@lengyel.tech> * fixes --------- Co-authored-by: Alisher <alisher@supertokens.com> Co-authored-by: Sattvik Chakravarthy <sattvik@gmail.com> Co-authored-by: Mihály Lengyel <mihaly@lengyel.tech> * Update lib/ts/recipe/multitenancy/index.ts Co-authored-by: Mihály Lengyel <mihaly@lengyel.tech> * fix: review comments * revert providers form * fix: review 2nd round * fixes: getRoutingComponent * fix: review 2nd round & embedding components fixes * fix: review * fix: move provider picking logic into separate wrapper * fix: remove test data * fix: picking providers logic & types * fix: type fixes & move helper to utils * fix: add getter for dynamicLoginMethods * fix: provider selection algorithm * fixes * fixes * remove memoization of providders * fixes * chore: minor cleanup/test fixes + migration docs * test: revert merge issue * fixes * fixes * fixes * fixes * fixes * fixes * fixes reciperouter * fixes * fix: update to match ADRs & new BE version * test: multitenancy (#678) * wip: tests * test: additional tests * fix: picking providers logic & types * test: adds test case * fix test & remove redundant test case * fix: minor cleanup/small fix + test extension --------- Co-authored-by: Alisher <alisher@supertokens.com> Co-authored-by: Mihaly Lengyel <mihaly@lengyel.tech> * feat: update to latest interfaces and fix tests * test: updated test asserts to match new behaviour * fix: make the interface more consistent with web-js * feat: improve typing of getClaimValue * feat: update tests to use core + small fixes * test: add tests for tenant id exceptions * fix: fixed handling empty provider arrays + missing provider * fix: fix tests * fix: self-review fixes * fix: self-review fixes & chores * test: fix react 16 test app * docs: update examples --------- Co-authored-by: Alisher <alisher@supertokens.com> Co-authored-by: Mihály Lengyel <mihaly@lengyel.tech> Co-authored-by: Sattvik Chakravarthy <sattvik@gmail.com>
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
Added thirdparty login with popup example
Related issues
Test Plan
Manually tested
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
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.someFunc: function () {..}
).size-limit
section ofpackage.json
with the size limit set to the current size rounded up.rollup.config.mjs
Remaining TODOs for this PR