supertokens / supertokens-web-js

SuperTokens SDK for vanilla JS for all recipes
Other
58 stars 10 forks source link

Refactor: Change return type of signinup for all recipes that use third party #31

Closed nkshah2 closed 2 years ago

nkshah2 commented 2 years ago

The third party signinup API returns additional information that is not currently part of the response type for the recipe functions.

{
    status: "OK",
    user: {
        ...
        "thirdParty": {
            "id": "google",
            "userId": "rq238mrq2389rvq123213"
        }
    }
}

Reference: https://app.swaggerhub.com/apis/supertokens/FDI/1.13.1#/ThirdParty%20Recipe/signInUp