• fsimoes

    fsimoes

    5 months ago
    Hello, question: Is there any way to write to django database after User Login? I assumed altering:
    from django.contrib.auth.models import User
    async def get_profile_info(self, auth_code_response: Dict[str, Any], user_context: Dict[str, Any]) -> UserInfo:
            user = something_that_gets_users(auth_code_response["access_token"])
            User.objects.create(username=user.id, email=user.personal.email) # Write to database
            return UserInfo(user_id=user.id,
                            email=UserInfoEmail(email=user.personal.email, email_verified=True))
    Problem: It raises
    AppRegistryNotReady("Apps aren't loaded yet.")
    fsimoes
    r
    6 replies
    Copy to Clipboard
  • fsimoes

    fsimoes

    5 months ago
    Solution
  • Invader

    Invader

    5 months ago
    I'm currently using Hasura and Magic Link to basically authenticate users and save their issuer and information with sessions in the server as a cookie session JWT. How easy would it be to migrate to supertokens?
    Invader
    r
    9 replies
    Copy to Clipboard
  • r

    rp

    5 months ago
    Passwordless migration
  • jlt

    jlt

    5 months ago
    Anyone know if Super Tokens supports Secure Remote Password (SRP)? Can’t seem to find it in docs
    jlt
    r
    2 replies
    Copy to Clipboard
  • r

    rp

    5 months ago
    Srp
  • a

    anubhav

    5 months ago
    Sir, I am using third party email + password and passwordless recipe in react which is working perfectly fine. Our organization has different products. Now, I want if a user login with any of the web application he should be logged in from other applications too simulatneously and if a user logged out from any of the application, he or she should be logged out from all other web applications. Is, It possible ?? If so please help me.
    a
    r
    16 replies
    Copy to Clipboard
  • r

    rp

    5 months ago
    SSO
  • y

    Yashwant

    5 months ago
    Hi, I was implementing the thirdPartyemailpassword recipe with custom provider outlook. When I call the provider from frontend using default supertoken SDK it gives an error. I checked the logs and the authorization code is recieved by the frontend..but after this there is a call made website-domain?rid=thirdpartyemailpassword&error=signin and it errors out.
    y
    n
    29 replies
    Copy to Clipboard
  • a

    Adiboi

    5 months ago
    Thank you for the boosts @Deleted User ! 🥳