supertokens-golang
SuperTokens Community
supertokens-golang | SuperTokens Community | |
---|---|---|
2 | 114 | |
102 | 11,931 | |
2.9% | 1.2% | |
9.0 | 9.3 | |
3 days ago | 9 days ago | |
Go | Java | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
supertokens-golang
-
Looking for help with transpiling TypeScript to Golang and Python using LLMs
The problem
I am looking for a service or effective technique using which I can get quick and reliable translation of our Node SDK (https://github.com/supertokens/supertokens-node) applied to our Python (https://github.com/supertokens/supertokens-python) and Golang (https://github.com/supertokens/supertokens-golang) SDK.
Our SDKs are not just wrappers around an OpenAPI spec, so we canβt use existing tools to auto generate our backend SDK. Or even if we did, that would only generate a very tiny percentage of our SDK. Other than being API wrappers, our SDKs:
- Provide several overridable functions for users to hook into.
- Manage reading from the request and writing to the response objects of various web frameworks of these languages.
- Expose APIs to via a middleware (that again integrates into various web frameworks). Each API has a lot of logic that includes input checking, business logic of that API, calling various other APIs to do actions like send emails, and finally writing an output JSON.
Currently, we are hand writing each of these SDKs, and as you may imagine, it is very expensive. As a result, we have the Node SDK (which is our most used one) far ahead in terms of features compared to our other two SDKs.
As an example of the set of changes that need to be replicated in the other SDKs, have a look at this PR: https://github.com/supertokens/supertokens-node/pull/670/files (many of the files are build files which can be ignored, but even then, itβs 200+ files changed, a large chunk of which are adding tests).
What I have already tried
I have primarily played around with GPT-4 with different types of prompts for simpler PR changes (for example this PR: https://github.com/supertokens/supertokens-node/pull/782/files).
For the TS code changes, I tried a prompt that gave the raw git diff of the node PR and the contents of the python function in which the changes are to be applied, and then asked to generate python snippet with the changes, and the output was quite accurate.
For test case changes, I gave the existing python test file and added it to ask new test cases based on the diff, and that went quite well too (though not at all perfect - i had a bunch of false imports, or made up function names, but 90% of it was good).
This, of course, is a very simple PR, and it would have taken me lesser time to do it by hand than try with the prompts, but I wonder if there is a way to scale this to make it work (even if itβs 50-60% correct).
My ask
If anyone has experience with working with LLMs for this or a similar purpose, or if there is a service out there which can help me with this, I would love to be connected. You can email me on [email protected].
Thank you!
-
Using SuperTokens for authentication in Next.js
For backend integration, SDKs are currently available for the following: Golang, Python, and Node.js. Meanwhile, for the frontend, it is available with React.js, React Native, and Vanilla JS (Vue/ Angular/ JS).
SuperTokens Community
-
Ask HN: Simple Auth for Website
I get what you are trying to do, but it feels a bit insecure. Why not use an OSS passwordless project like https://github.com/supertokens/supertokens-core/ or https://github.com/teamhanko/hanko
-
Auth0 increases price by 300%
Checkout https://supertokens.com/ - open source alternative to Auth0. It has a lot of free features and if you self host it, it's free at any scale. For our managed service, it's still far cheaper compared to Auth0.
-
π Top 12 Open Source Auth Projects Every Developer Should Know π
SuperTokens
-
Free auth products you can start using today
Building auth for your SaaS product shouldn't be hard. Try these free solutions for your next project π http://supabase.com/auth free up to 50k users/month http://firebase.google.com/products/auth free up to 50k users/month http://aws.amazon.com/cognito free up to 50k users/month http://clerk.com free up to 10k users/month http://kinde.com free up to 7.5k users/month https://www.descope.com free up to 7.5k users/month https://supertokens.com free up to 5k users/month Save for later! Besides users/month what other features do you look for in auth products?
- What is the best way to implement authentication that provides Google Auth, Facebook Auth, etc.
-
The Developer-First Security Week free event (Aug 7-11)
The Developer-First Security Week event is on August 7-11. The theme is shifting left with a security mindset with top expert speakers from Snyk, BoxyHQ, Microsoft, Google, Gitlab, Bearer, SuperTokens, Cerbos, and more...Come learn with us as the speakers dive into complex topics on Authorization, Authentication, Data Privacy.
-
What is the easiest authentication method with nodejs currently available?
Supertokens dont reinvent, just reuse
-
Top open source security devtools you need to know about
GitHub: https://github.com/supertokens/supertokens-core Website: https://supertokens.com/
-
Introducing Pezzo: Open-source AI Development Toolkit π
Signing up - You're not actually signing up to anything. Supertokens (open source auth provider) is running locally on your machine. It's just a means for you to be able to have an account (and soon invite others to your project to collaborate together). The data doesn't leave your computer.
- Supertokens: Open-Source Alternative to Auth0 / Firebase Auth / AWS Cognito
What are some alternatives?
react-buddy-react - A declarative, efficient, and flexible JavaScript library for building user interfaces.
Ory Kratos - Next-gen identity server replacing your Auth0, Okta, Firebase with hardened security and PassKeys, SMS, OIDC, Social Sign In, MFA, FIDO, TOTP and OTP, WebAuthn, passwordless and much more. Golang, headless, API-first. Available as a worry-free SaaS with the fairest pricing on the market!
supertokens-react-native - React Native SDK for SuperTokens
Keycloak - Open Source Identity and Access Management For Modern Applications and Services
supertokens-web-js - SuperTokens SDK for vanilla JS for all recipes
authentik - The authentication glue you need.
supertokens-auth-react - ReactJS authentication module for SuperTokens
authelia - The Single Sign-On Multi-Factor portal for web apps
supertokens-python - Python SDK for SuperTokens
springboot-keycloak-openldap - The goal of this project is to create a simple Spring Boot REST API, called simple-service, and secure it with Keycloak. Furthermore, the API users will be loaded into Keycloak from OpenLDAP server.
Visual Studio Code - Visual Studio Code
zitadel - ZITADEL - The best of Auth0 and Keycloak combined. Built for the serverless era.