BlitzKraft / saythanks.io

Spreading Thankfulness in Open Source.
https://saythanks.io
1.25k stars 154 forks source link

Kinde integration for auth #271

Closed Adithya14255 closed 2 months ago

Adithya14255 commented 2 months ago

IMPORTANT NOTE- Kinde requires python 3.9 hence will not work without the version update Due to the way data was stored previously, data migration from auth0 to kinde has to be done before integrating this pull request

Kinde integration-

-> installed and imported kinde-python-sdk

-> fixed conf_template file to match new params

-> configured kinde_client to replace auth0 in core.py

-> fixed some comments

-> added routes for login and register for kinde functionality

-> fixed callback url such that it works for kinde

-> fixed myemail function in storage.py

-> redefined routes set for auth0 to kinde

-> Only database integration remains previous db used 'sub' from auth0 as user id which is unique to auth0 hence to migrate to kinde we have to update these with kinde's 'id'

-> updated development.md