We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example
session.Init(&sessmodels.TypeInput{ AntiCsrf: &customAntiCsrfVal, Override: &sessmodels.OverrideStruct{ Functions: func(originalImplementation sessmodels.RecipeInterface) sessmodels.RecipeInterface { oGetSessionInformation := *originalImplementation.GetSessionInformation nGetSessionInformation := func(sessionHandle string, userContext supertokens.UserContext) (*sessmodels.SessionInformation, error) { info, err := oGetSessionInformation(sessionHandle, userContext) if err != nil { return nil, err } info.SessionData = map[string]interface{}{ "test": 1, } return info, nil } originalImplementation.GetSessionInformation = &nGetSessionInformation return originalImplementation }, }, })
The text was updated successfully, but these errors were encountered:
I encountered the same problem when override signInUp function. @sattvikc Did you manage to solve the problem somehow?
Sorry, something went wrong.
No branches or pull requests
For example
The text was updated successfully, but these errors were encountered: