Mahmoud
09/12/2023, 2:58 PMpython
@router.get("/get_variant_by_name/", response_model=AppVariant)
async def get_variant_by_name(
app_name: str,
variant_name: str,
stoken_session: SessionContainer = Depends(verify_session()),
):
kwargs = await get_user_and_org_id(stoken_session)
We're now exploring options to let users directly interact with our backend using their own code. One solution we're considering is enabling users to generate API keys from our platform, which they can then include in the Bearer token when calling our backend endpoints.
Is there a way to implement this using SuperTokens, or can it be added alongside SuperTokens in the backend?
Thanks!