robschilder
09/16/2023, 3:54 PMsupertokens-web-js
. In the example I see you guys are using: import SuperTokensReact, { SuperTokensWrapper } from 'supertokens-auth-react'
so the" SuperTokensWrapper" from the supertokens-auth-react
package.
Is there an equivalent in the supertokens-web-js
package so that I can wrap my pages from the app router?rp_st
09/16/2023, 3:56 PMrobschilder
09/16/2023, 3:57 PMrp_st
09/16/2023, 3:57 PMrp_st
09/16/2023, 3:57 PMrobschilder
09/16/2023, 3:58 PMrobschilder
09/16/2023, 4:24 PMreturn ThirdParty.getAuthorisationURLWithQueryParamsAndSetState({
thirdPartyId,
authorisationURL,
})
}
the authorisationURL doesnt exist anymore: rgument of type '{ thirdPartyId: "google" | "apple" | "github"; authorisationURL: string; }' is not assignable to parameter of type '{ thirdPartyId: string; frontendRedirectURI: string; redirectURIOnProviderDashboard?: string | undefined; userContext?: any; options?: RecipeFunctionOptions | undefined; }'.
Object literal may only specify known properties, and 'authorisationURL' does not exist in type '{ thirdPartyId: string; frontendRedirectURI: string; redirectURIOnProviderDashboard?: string | undefined; userContext?: any; options?: RecipeFunctionOptions | undefined; }'.ts
robschilder
09/16/2023, 4:26 PM