Is there a way to implement third party auth with surrealdb and run authorization logic accoridng to the JWT tokens returned from the third party auth service. In my case it is a home grown auth solution which uses JWTs for authentication i like to use these JWTs with surrealdb.
I just started with surrealdb implementing a data aggragation system for realtime data viz with surrealdb live queries
You can implement basic Auth with GitHub for example :
Gotten from Discord. Currently SurrealDB does not officially support third party Auth but it is possible.
Use like so :
db.signin({ NS: 'test', DB: 'test', SC: 'account', code, })