https://supertokens.com/ logo
#support-questions
Title
# support-questions
e

execreate

04/21/2022, 6:30 AM
it is django
Copy code
init(
        app_info=InputAppInfo(
            app_name="myawesomeapp",
            api_domain=site_url,
            api_base_path="/api/auth",
            website_domain=website_domain,
            website_base_path=website_base_path,
        ),
        supertokens_config=SupertokensConfig(
            connection_uri=connection_uri,
            api_key=api_key,
        ),
        framework='django',
        recipe_list=[
            session.init(
                override=session.InputOverrideConfig(functions=override_functions),
            ),
            passwordless.init(
                flow_type="USER_INPUT_CODE",
                contact_config=ContactPhoneOnlyConfig(
                    create_and_send_custom_text_message=send_text_message
                )
            )
        ],
        mode='wsgi'
    )