Hello We have previously shown interest but hesita...
# general
u
Hello We have previously shown interest but hesitated, but we are now so anoyed by aws that we would like to shift our authentication to another provider. We are using c# for backend and flutter for frontend. Unfortunately not some of the languages you are providing sdk's for. We are interested in the managed version of supertokens. We can see that there is a flutter sdk. It seems like it only contains the most basic functions. Is it something that you maintain that will receive more development anytime soon? For backend. Is the implementation as simple as making the same api endpoints as your FDI https://app.swaggerhub.com/apis/supertokens/FDI/1.16.0 I will ofcourse handle the calls and forward the logic to the CDI. https://app.swaggerhub.com/apis/supertokens/CDI/2.13.0 Is there anything i need to be aware of if i will try implement this in our setup ?
r
Hey
We don’t recommend that you try and replace the backend SDK with your own implementation
Also, we do maintain the flutter SDK
That being said, there is no UI for it, and the SDK only providers session management
So you will have to build your own UI in flutter
Out of curiosity, what were the annoying things with cognito?
u
I have seen the link before. But that is not a concrete guide. Is there an official image for the nodejs server ? regardign the ui we prefer to have our own. So it is fine. Actually the flutter cognito implementation is okay. But managing cognito in the user interface is not very user friendly. Figuring out how to make a passwordless login requires me to make multiple lamba functions. I dont know if i can replace them with my backend but its not obvious how. We have moved most of our cloud functionality to other providers because of price and features. Supertoken is a very good example of a project with ambitions. Aws cognito seems to not get much attention in what i can read on forums.
r
Fair enough. We don’t have a docker image for node, but you can use our create-supertokens-app CLI command to get started with a node server template for passwordless quickly.
Or follow our passwordless guide with node
u
Can i get multiple recipies in the cli ?
r
Only the one we have the individual guides for
But adding addition recipes to existing CLI demo apps is simple
You can follow the setup of that recipe for node js on top of the demo app
u
I have studied the nodejs app and what possibilities we have. Unfortunately this will add too much complexity for us as we need another container running and the flutter package might be missing some features. I understand there is many frameworks to support and i hope ours will be in the fold at some point. We might switch again : ) We will try and make a poc with superbase which contains sdk for both flutter and c# Thanks for the help
r
Thanks for letting us know. May we know why running another node service would add a lot of complexity? Cause it’s just one extra service.
And as for flutter, it’s not really missing any features. The main job of the frontend SDK is to manage session tokens, which our SDK does. The ui you would want to build on flutter natively anyway
u
as a startup we dont have much resources. And as a backend engineer with spezialization in dotnet I have to manage and test the node service which im not used to. I got it running and working but i also have to understand it and be able to debug it. On the flutter side we dont have much experience on the technical side. So i try to help with the authorization part. The documentation on how to listen for redirects email validations, magic links and so on is more thourough on supabase TLDR, we are missing resources and expertise and would like to go with a safer bet. What i like about supertokens is to have all this in the backend which could simplify alot.
r
Fair enough. Thanks for the feedback!
2 Views