supertokens-golang icon indicating copy to clipboard operation
supertokens-golang copied to clipboard

GoLang SDK for SuperTokens

Results 15 supertokens-golang issues
Sort by recently updated
recently updated
newest added

## Related issues - https://github.com/supertokens/supertokens-node/issues/790 - https://github.com/supertokens/supertokens-node/pull/813 ## Test Plan (Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified...

## Related issues - https://github.com/supertokens/supertokens-node/issues/815 ## Test Plan - [ ] Changes to test to use separate recipes in all tests that had them as combination. ## Documentation changes (If...

We are updating how fake emails are generated (and detected), because `fakeemail.com` is not a domain we are controlling. Related: https://github.com/supertokens/supertokens-node/pull/741/files#diff-b14fb90617b51ab3230266bd4cff0646a932edda9f411eec40598d4016d76b39

For example ```go 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)...

## Summary of change The progress so far is that we have implemented and tested all recipe functions for account linking + `verifyEmailForRecipeUserIfLinkedAccountsAreVerified` interal function in the accountLinkingRecipe.go file. There...

Environments like google cloud run require authentication for [private service to service communication](https://cloud.google.com/run/docs/authenticating/service-to-service). This is currently difficult to accommodate between the sdk and supertokens core since there are no direct...

I have created a branch in the supertokens-golang repo: https://github.com/supertokens/supertokens-golang/tree/sign-in-with-reddit which contains an example app with sign in with reddit that yields a 429 error. To run the app, do:...

We need to add code comments so that they show up in the godocs link

## Summary of change updated go.mod file ## Related issues - Link to issue1 here - Link to issue1 here ## Test Plan (Write your test plan here. If you...

The current implementation defines and uses a package-level variable for the `*superTokens` instance which is not a great if anyone would like to have multiple instances or for testing (in...