akrem.yes
08/16/2023, 9:30 AMcurl --location --request POST 'http://localhost:3567/api/recipe/dashboard/user' \
--header 'rid: dashboard' \
--header 'Content-Type: application/json' \
--data-raw '{"email":"akrem@agenta.com" ,"password": "pass"}'
however am getting this error and I don't find docs about it
AppId or tenantId not found => Tenant with the following connectionURIDomain, appId and tenantId combination not found: (, public, api)
rp_st
08/16/2023, 9:31 AMakrem.yes
08/16/2023, 9:31 AMcurl --location --request POST 'https://try.supertokens.com/recipe/dashboard/user' \
--header 'rid: dashboard' \
--header 'api-key: <YOUR-API-KEY>' \
--header 'Content-Type: application/json' \
--data-raw '{"email": "<YOUR_EMAIL>","password": "<YOUR_PASSWORD>"}'
rp_st
08/16/2023, 9:32 AMrp_st
08/16/2023, 9:33 AMakrem.yes
08/16/2023, 10:01 AMsupertokens_config=SupertokensConfig(
connection_uri="http://supertokens:3567",
# api_key=<API_KEY(if configured)>
),
akrem.yes
08/16/2023, 10:01 AMcurl --location --request POST 'http://supertokens:3567/recipe/dashboard/user' \
--header 'rid: dashboard' \
--header 'api-key: <YOUR-API-KEY>' \
--header 'Content-Type: application/json' \
--data-raw '{"email": "<YOUR_EMAIL>","password": "<YOUR_PASSWORD>"}'
however to run it I still need to adjust the endpoint to localhost:3567 as am running the command from outside of the docker container.
now doing so is now triggering this error:akrem.yes
08/16/2023, 10:02 AMrp_st
08/16/2023, 10:02 AMakrem.yes
08/16/2023, 10:02 AMrp_st
08/16/2023, 10:03 AMakrem.yes
08/16/2023, 10:07 AMakrem.yes
08/16/2023, 10:07 AMrp_st
08/16/2023, 10:07 AMakrem.yes
08/16/2023, 10:12 AMakrem.yes
08/16/2023, 10:12 AMrp_st
08/16/2023, 10:13 AMrp_st
08/16/2023, 10:13 AMrp_st
08/16/2023, 10:13 AMakrem.yes
08/16/2023, 10:13 AMakrem.yes
08/16/2023, 10:14 AMakrem.yes
08/16/2023, 10:16 AMrp_st
08/16/2023, 10:21 AMakrem.yes
08/16/2023, 11:38 AMrp_st
08/16/2023, 11:39 AMrp_st
08/16/2023, 11:39 AMakrem.yes
08/16/2023, 11:40 AMakrem.yes
08/16/2023, 1:04 PMrp_st
08/16/2023, 1:13 PMnkshah2
08/16/2023, 1:14 PMakrem.yes
08/16/2023, 1:15 PMnkshah2
08/16/2023, 1:15 PMakrem.yes
08/16/2023, 1:16 PMakrem.yes
08/16/2023, 1:18 PMnkshah2
08/16/2023, 1:19 PMakrem.yes
08/16/2023, 1:19 PMnkshah2
08/16/2023, 1:19 PMakrem.yes
08/16/2023, 1:20 PMnkshah2
08/16/2023, 1:20 PMakrem.yes
08/16/2023, 1:20 PMnkshah2
08/16/2023, 1:21 PMakrem.yes
08/16/2023, 1:21 PMnkshah2
08/16/2023, 1:21 PMnkshah2
08/16/2023, 1:21 PMakrem.yes
08/16/2023, 1:23 PMinit(
app_info=InputAppInfo(
app_name="my_app",
api_domain="http://localhost",
website_domain="http://localhost",
api_base_path="/auth/",
website_base_path="/auth"
),
supertokens_config=SupertokensConfig(
connection_uri="http://supertokens:3567",
),
framework='fastapi',
recipe_list=[
session.init(), # initializes session features
passwordless.init(
flow_type="USER_INPUT_CODE",
contact_config=ContactEmailOnlyConfig()
),
dashboard.init(),
],
mode='asgi' # use wsgi if you are running using gunicorn
)
akrem.yes
08/16/2023, 1:23 PMnkshah2
08/16/2023, 1:23 PMnkshah2
08/16/2023, 1:24 PMnkshah2
08/16/2023, 1:25 PMakrem.yes
08/16/2023, 1:25 PM