https://supertokens.com/
Join Discord
Hi, is there any example of how can I use Facebook provider in react native ?
b

binouse

about 3 years ago
Hi, is there any example of how can I use Facebook provider in react native ?
b
r
n
  • 3
  • 13
  • 32
TRY_REFRESH_TOKEN error
a

atoyebs

over 3 years ago
TRY_REFRESH_TOKEN error
a
  • 1
  • 4
  • 32
Hi, i am using verify middleware in route and i have also my own middleware which i used to to set s...
c

cpalta8102

almost 4 years ago
Hi, i am using verify middleware in route and i have also my own middleware which i used to to set some data into session . in my own middleware i used next() function but after using verify middleware next function it show me a error "TypeError: Cannot read property 'secure' of undefined"
c
r
  • 2
  • 29
  • 32
Guest Author Program…
m

mizzle

about 1 year ago
Hi @Koha sent you a dm regarding this
m
k
  • 2
  • 3
  • 31
Hello! I am trying to implement OTP in my Android app but the SuperTokens object isn't saving the se...
a

aleeza333

over 1 year ago
Hello! I am trying to implement OTP in my Android app but the SuperTokens object isn't saving the session information. I am wondering if I initialized SuperTokens incorrectly (or something else) SuperTokens.Builder(applicationContext, apiDomain) .apiBasePath("/api/auth") .build() I can hit apiDomain on my local machine so we can assume this is correct I can see all the session data that I want in the response in logcat but I somehow can't access it in the SuperTokens object
a
r
  • 2
  • 6
  • 31
Hey there, is there a way to autostart supertokens on ubuntu? After restart it's not automatic
r

ricardas4658

over 1 year ago
Hey there, is there a way to autostart supertokens on ubuntu? After restart it's not automatic
r
r
d
  • 3
  • 14
  • 31
Ok I am using this example, to access the user role using the jwtpayload, https://supertokens.com/do...
k

kiesker

over 2 years ago
Ok I am using this example, to access the user role using the jwtpayload, https://supertokens.com/docs/emailpassword/common-customizations/sessions/user-information-front-end. But I run into the error jwtpayload.role is not part of the properties
k
r
  • 2
  • 3
  • 31
Hi, there. I'm trying to implement Sign In with Google using the following instruction https://super...
m

majskiy

over 2 years ago
Hi, there. I'm trying to implement Sign In with Google using the following instruction https://supertokens.com/docs/thirdpartyemailpassword/custom-ui/thirdparty-login. But when I call
thirdPartySignInAndUp
after redirect it throws me error `Error: No instance of ThirdPartyEmailPassword found. Make sure to call the ThirdPartyEmailPassword.init method. `But, actually, it was successfully initialised as I was able to call getAuthorisationURLWithQueryParamsAndSetState to generate auth url. Any ideas what I'm doing wrong?
m
  • 1
  • 1
  • 31
Hello, I'm using FastAPI and my goal is to implements by myself the route /auth/signup because I wan...
a

Arti

over 2 years ago
Hello, I'm using FastAPI and my goal is to implements by myself the route /auth/signup because I want it to be visible on the open-api swagger. Currently I don't have a front-end, so I'm only using the swagger. I'm struggling with get_session and create_new_session. After I log-in, get_session always returns None.
py
class UserRegisterModel(BaseModel):
    email: str
    password: str


@router.post('/register')
async def register_user(
    request: Request,
    user: UserRegisterModel,
):
    email_password_quertier = Querier.get_instance('emailpassword')
    path = NormalisedURLPath('/recipe/signup')
    response = await email_password_quertier.send_post_request(path, user.dict())
    if response.get('status') == 'OK':
        user_id = response['user']['id']
        session = await create_new_session(
            request,
            user_id
        )
        return True
    raise Exception('user exists')

@router.post('/like_comment') 
async def like_comment(request: Request):
    session = await get_session(request, session_required=False)

    if session is None:
        raise Exception("Should never come here")
    user_id = session.get_user_id()

    print(user_id)
a
r
  • 2
  • 17
  • 31
Hey, I have a website and a chrome extension. What i want to do is when the user logins inside the w...
k

kumar_ayush

about 3 years ago
Hey, I have a website and a chrome extension. What i want to do is when the user logins inside the website, he should automatically login inside the extension as well. This is a business project.
k
r
  • 2
  • 21
  • 31
Previous394041Next

SuperTokens.com

SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).

Powered by