ashish3822
04/21/2022, 6:01 AMsinginup
API.
{"status":"FIELD_ERROR","error":"'access_token'"}
rp_st
04/21/2022, 6:02 AMashish3822
04/21/2022, 6:04 AM{"code":"XXXXXXX13mNOcETHEeeI43Entk2ZXXXXXXXXXX","redirectURI":"http://localhost:3000/auth/callback/google","thirdPartyId":"google"}
rp_st
04/21/2022, 6:06 AMashish3822
04/21/2022, 6:07 AMrp_st
04/21/2022, 6:47 AMrp_st
04/21/2022, 6:50 AMashish3822
04/21/2022, 6:50 AMashish3822
04/21/2022, 6:54 AMinit(
supertokens_config=SupertokensConfig(
connection_uri="https://dbd187XXXXXXXX-ap-southeast-1.aws.supertokens.io:3571",
api_key="XXXXXXXXX"
),
app_info=InputAppInfo(
app_name='Supertokens',
api_domain='http://localhost:' + get_api_port(),
website_domain=get_website_domain()
),
framework='fastapi',
recipe_list=[
session.init(),
thirdpartyemailpassword.init(
providers=[
Google(
is_default=True,
client_id='22222222-XXXXXXX.apps.googleusercontent.com', # type: ignore
client_secret='GOCSPX-XXXXXXXXX' # type: ignore
),
]
)
],
telemetry=False
)
rp_st
04/21/2022, 6:55 AMashish3822
04/21/2022, 6:56 AMrp_st
04/21/2022, 6:57 AMrp_st
04/21/2022, 6:58 AMashish3822
04/21/2022, 6:58 AMashish3822
04/21/2022, 6:58 AMashish3822
04/21/2022, 6:59 AMrp_st
04/21/2022, 6:59 AMashish3822
04/21/2022, 7:00 AMrp_st
04/21/2022, 7:00 AMrp_st
04/21/2022, 7:00 AMashish3822
04/21/2022, 7:00 AMashish3822
04/21/2022, 7:02 AMcurl --location --request POST 'https://www.linkedin.com/oauth/v2/accessToken' \
--data-urlencode 'client_id=XXXXXX' \
--data-urlencode 'client_secret=XXXXXX' \
--data-urlencode 'grant_type=authorization_code' \
--data-urlencode 'code=XXXXXXXXXX' \
--data-urlencode 'redirect_uri=http://localhost:3000/login'
rp_st
04/21/2022, 7:04 AMashish3822
04/21/2022, 7:07 AMrp_st
04/21/2022, 7:08 AMashish3822
04/21/2022, 7:08 AMKShivendu
04/22/2022, 7:38 AMKShivendu
04/26/2022, 6:11 AM