• teebot

    teebot

    3 months ago
    Hi, got a little issue with our Android app on react native for a few days. it can log in and get an access token but when refreshing it logs us out this is what we changed before it started to happen : - "supertokens-node": "^8.5.0", + "supertokens-node": "^9.2.3", in the same deployment, we also set the cookieDomain to a wildcard to allow subdomains the weird thing is ios is fine
    teebot
    n
    29 replies
    Copy to Clipboard
  • mahmoudalaskalany

    mahmoudalaskalany

    3 months ago
    Hi all I have a question Is super tokens support SSO(Single Sign On ) If i have multiple SPA frontend projects on different domains and i want to login once for all the fotnend projects Does super token support this functionality ?
    mahmoudalaskalany
    r
    3 replies
    Copy to Clipboard
  • r

    rp

    3 months ago
    Login to multiple domains via common auth
  • constantinos

    constantinos

    3 months ago
    When migrating from auth0, why is it recommended to map the supertokens user id in my db? I ll use the exported json method and in the frontend I ll keep using the auth0 id. (for old users only) Also, when calling backend functions such as
    getUserById
    , siince I override them, I would anyway have to look in the json every time. Am I missing something?
    constantinos
    r
    7 replies
    Copy to Clipboard
  • c

    CG.VOLS

    2 months ago
    Within the last day, Google Social Auth in our web app tries to log us in to supertokens.io instead of our app. We are providing the Google Clied Id and Secret associated with our app. We did switch from using an IP to our dev domain name in the last several days if that makes a difference. Why is it trying to log into supertokens.io?
    c
    r
    18 replies
    Copy to Clipboard
  • Alankazam

    Alankazam

    2 months ago
    Hello, I would like to be able to save additional user information during account creation using passwordless recipe. Can you tell me how I can get to this behavior?
    Alankazam
    r
    8 replies
    Copy to Clipboard
  • Dan6erbond

    Dan6erbond

    2 months ago
    Hello everyone! I have a general question about SuperTokens, I like the idea of using it as an authentication server for my fairly large architecture with multiple services, but I'll also need the flexibility which I'm not sure it has. I'm wondering if those will be easy features to add or not, so in your experience, is SuperTokens easy to integrate with? https://supertokens.com/docs/thirdpartyemailpassword/advanced-customizations/apis-override/usage One example I have is that I want to expose some LDAP functions using LDAP.js and allow access to SuperTokens users, I will also use the new UserRoles recipe to get the LDAP functionality SuperTokens provides: https://supertokens.com/docs/nodejs/modules/recipe_userroles.html Furthermore, it would be great, if I could have more direct control over SuperTokens, for instance I want to create a certain user type with preset fields if they're coming from a specific tool, which means I could either override SuperTokens hooks, or what I would prefer to do is call a custom API method like
    POST /auth/<user-type>
    and then call a function from SuperTokens SDK to create that user: https://supertokens.com/docs/nodejs/modules/recipe_thirdpartyemailpassword.html#emailPasswordSignUp-1 Is this a good way to go about it? Also, how much data is recommended to be stored with the UserMetadata recipe? Should it only be for very simple structs or can I use SuperTokens to handle business data such as a paid subscription or personal data? https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/usermetadata/about
    Dan6erbond
    r
    7 replies
    Copy to Clipboard
  • teebot

    teebot

    2 months ago
    Hi, We're authenticating our react app with supertokens react components successfully from SUBDOMAIN.DOMAIN.COM where our frontend lives and where the cookie is also set. Our main API and supertokens fastify middleware live on DOMAIN.COM/API and correctly set cookie and validate the requests The problem we have is that we have another authentication flow where customers will get a new supertokens cookie from DOMAIN.COM, they are supposed to be authenticated but the react auth component does not recognize it. Would you have a cue on how we could solve that?
    teebot
    r
    29 replies
    Copy to Clipboard
  • r

    rp

    2 months ago
    Sharing session across sub domains
  • c

    CG.VOLS

    2 months ago
    hey 😃. we are having an issue with the redirect uri returned for Apple on the web. the code that creates the redirect uri uses the API base path instead of the UI base path.
    c
    r
    26 replies
    Copy to Clipboard