FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. naughtly.keller
    3. Best
    N
    • Profile
    • Following 2
    • Followers 0
    • Topics 2
    • Posts 10
    • Best 5
    • Controversial 0
    • Groups 0

    Best posts made by naughtly.keller

    • RE: Passwordless registration

      I think the answer is in the docs.

      When FusionAuth is your user datastore, adding a user means you must either provide a password or send them a link to set up their initial password.

      If you are only allowing passwordless authentication for your application, don’t allow the user to specify a password and instead generate a random series of characters for the password. We recommend generating at least 32 characters in the ascii character set that are completely random to ensure the user’s account is secure.

      posted in Q&A
      N
      naughtly.keller
    • FusionAuth + NextAuth refresh tokens

      I'm new to FusionAuth. I came to know about it because of NextAuth and I love it! Now I'm looking to build a boilerplate app as my go to full-stack platform: Next.js + NextAuth + FusionAuth + Hasura.

      My only issue so far is how to implement refresh tokens. NextAuth provides a demo for Google as OAuth provider, but I couldn't find anything inside FusionAuth Docs that would help me. Any hints please?

      posted in Q&A
      N
      naughtly.keller
    • RE: FusionAuth + NextAuth refresh tokens

      @dan I thought the difficulty was subjective, due to my inexperience with FusionAuth, but I can write down a tutorial and push a demo if you like 🙂

      posted in Q&A
      N
      naughtly.keller
    • RE: FusionAuth + NextAuth refresh tokens

      Hey @sander Can you be more precise about how you want to use organizations? Do you mean implementing some sort of multi-tenancy? I'd be happy to collaborate 🙂

      posted in Q&A
      N
      naughtly.keller
    • RE: FusionAuth + NextAuth refresh tokens

      Hey @sander your issues seem to be related more with how Hasura's authorization system works than FusionAuth authentication. However, you can populate your JWT with the values you need. As @dan suggested, I would probably use Groups to model organizations, then it's easy to add the relative claims on the access token. So yes, you can populate your token with claims for both a set of roles and one or more organizations. Everything else should be in the authorization system domain, and considering you are using Hasura you can probably model those relationships in the database.

      posted in Q&A
      N
      naughtly.keller