Is it possible to call signup, signign, refresh etc by hand without a request (like for verify_sessi...
t
Is it possible to call signup, signign, refresh etc by hand without a request (like for verify_session with get_session_without_request_response)?
r
hey @trivialkettle not easily. You could pass in your own wrapper to the request / response objects for your framework into the supertokens middleware by copying over our sdk's middleware into your own codebase.
whats the use case here?
t
I am thinking about creating a gRPC wrapper around supertokens to not have to use 2 different APIs since the legacy code base is based on gRPC
I know I have to create my own frontend for this
r
right yeaa.. this will be tricky for sure.
but it is technically possible
t
at the end I could use the low level backend functions to do this. But thats for the moment to much.
r
Yeaa. Agreed.
easiler would be to somehow create a request / response wrapper that reads from gRPC requests (im not sure if this even makes sense)