FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. Categories
    3. Q&A
    Log in to post
    Load new posts
    • Recently Replied
    • Recently Created
    • Most Posts
    • Most Votes
    • Most Views
    • J

      Is it possible to limit the number of devices a user can login with?

      • • joseantonio
      8
      0
      Votes
      8
      Posts
      7.1k
      Views

      danD

      This might be useful for visitors in the future: https://fusionauth.io/docs/extend/examples/device-limiting

    • K

      Unsolved Tenant name is tenant UUID even though Terraform is stating name

      • • kasir-barati
      1
      0
      Votes
      1
      Posts
      1.4k
      Views

      No one has replied

    • danD

      Redirect from the password complete page?

      redirect password change • • dan
      5
      1
      Votes
      5
      Posts
      2.3k
      Views

      K

      Hey FusionAuth fans,

      I've just come up with a brilliant idea, why not utilizing theme message? I have working example here. Just a quick run down on what I have done there:

      I am adding a new message key-value pair to my default custom theme called frontend-app-url. Implemented in a terraform resource named custom-theme. It is a bit hacky of course. I am using it in my change-password-complete.ftl

      And this way I worked my way around it 😂

      Hopefully this will help you, do not hesitate to give this repo a ⭐ in GitHub.

    • K

      Solved Connection refused when I try to register a new user with @fusionauth/typescript-client

      • • kasir-barati
      8
      0
      Votes
      8
      Posts
      2.9k
      Views

      K

      Hey folks,

      Coming from the future. I just decided to change my docker-compose.yml to use network_mode: host therefore my former comment is no longer valid. Please look at my monorepo on how I am utilizing Terraform, Docker, mailcatcher as my local SMTP, NestJS, and NextJS.

      I also wrote a couple of README.mds here and there for future references.

      Feel free to give it a star on GitHub and or better yet use it.

    • H

      Unsolved Connector not persisting claim

      connectors netcore lambda • • helzgate
      7
      0
      Votes
      7
      Posts
      1.2k
      Views

      H

      There is no way to get back information from FA when it calls your connector endpoint. What I ended up doing was creating separate applications for each portal in our app. WHen FA calls my connector, now I can look at the incoming applicationid and know which portal this user belongs too and that solved my issue.

    • B

      Unsolved Access redirect_uri from accountTwoFactorIndex

      • • bill.yudichak
      2
      0
      Votes
      2
      Posts
      401
      Views

      mark.robustelliM

      @bill-yudichak Can you please get us a little more detail. A screenshot may help. I do not see a "Go Back" link when I enable multi-factor for my app. Also, what is the accountTwoFactorIndex template you are referring to?

    • M

      Unsolved Back to maintenance mode

      • • marshsouvlakia
      2
      0
      Votes
      2
      Posts
      1.0k
      Views

      mark.robustelliM

      @marshsouvlakia What version of mysql are you running? Were there any updates recently? Anything that may have changes from when it was not working to now? Have you tried a restart?

    • Y

      Unsolved OpenID Connect doesn't fallback to non-PKCE if provider doesn't support it

      openid pkce • • yves
      7
      0
      Votes
      7
      Posts
      1.6k
      Views

      mark.robustelliM

      @yves So I found this that may be of interest to you.

      For the Authorization Code Grant, if the clientAuthenticationPolicy value is Required, the client secret is required. If the value is NotRequired, the client secret is not required. If the value is NotRequiredWhenUsingPKCE and PKCE is used, the client secret is not required. If PKCE is not used, the client secret is required.

      What is your setting there?

    • F

      Unsolved Connector service docs say it needs only user.id, but fails it not given email too

      connectors ritza • • fusionauth.qhj5e
      3
      0
      Votes
      3
      Posts
      2.2k
      Views

      F

      @dan Oh I see. The error in the response says:

      "because it was missing a unique id in the [user.id] or enough information to store in FusionAuth (i.e. an email or username)"

      In other words, "either Id or email" is missing from your request. Which makes boolean sense when thinking about it carefully.

      But when first reading it, I though it meant "you need either Id or email", which is very different. I supplied one of those. I though that was what the "or" meant.

      This error could be better as:

      "because it was missing a unique id in the [user.id] or enough information to store in FusionAuth (i.e. an email or username). Both are necessary"

    • I

      Unsolved Mule 4 - Workday connector

      • • infobrother4
      2
      0
      Votes
      2
      Posts
      494
      Views

      mark.robustelliM

      @infobrother4 So which way are you trying to move information? Into FusionAuth from Workday or into Workday from FusionAuth? What connecter are you trying to use?

    • F

      Solved How to bulk import users with no password hash?

      frontegg ritza import migration • • fusionauth.qhj5e
      3
      0
      Votes
      3
      Posts
      1.7k
      Views

      F

      @mark-robustelli Oh ok, I'll set the password to a UUID then and set the user to change password on login. I'll try on Monday. Thanks for the forum link.

    • C

      Unsolved Propagate rememberDevice property from Login page back to redirect or similar

      login theme propagate rememberme • • carvalhom
      3
      1
      Votes
      3
      Posts
      2.0k
      Views

      C

      @dan Thank you for the prompt response I will give this a try soon.

    • danD

      Solved Assign a user role when a user logs in using Google

      • • dan
      2
      0
      Votes
      2
      Posts
      1.2k
      Views

      danD

      This is possible today using a Google Reconcile Lambda. Our Lambdas allow arbitrary JavaScript to be executed during a login event. You can write logic to check the user's domain and assign them the appropriate role associated with the FusionAuth Application they're authenticating through.

      Below is a code example demonstrating how you could implement such logic:

      function reconcile(user, registration, idToken) { function extractDomain(email) { // Split the email address by '@' symbol var parts = email.split('@'); // Return the second part which represents the domain name return parts[1]; } // function to extract the email domain from the user object and stores in domain variable var domain = extractDomain(user.email); // Conditional statement checks domain for fusionauth.io and adds 'counsellor' role, if any other domain exist adds 'user' role if (domain === 'example.com') { registration.roles.push('teacher'); } else { registration.roles.push('user'); } //This is optional, but is good to have for debugging purposes. The results will be returned in the event logs. console.info(registration.roles); }
    • danD

      Solved Simple session management service

      • • dan
      2
      0
      Votes
      2
      Posts
      694
      Views

      danD

      The best solution here would be to use entity management.

      You can create an entity type of Session or similar.

      Each time you have a user log in, you can create a Session and set the .data.session_identifier field to the value of the device fingerprint + business specific indicator, and store the access token as the value.

      When you are trying to find whether a user has a valid session, you can use the Entity search APIs to find that key and get back the value. Or, if the value doesn't exist, the user has no valid session.

      For expiration, you can use the access tokens exp claim (which means anything consuming it will have to check that, which it should anyway). You could also manage additional expiration metadata in the .data field if you needed different logic (you have 5 hour access on weekdays, 10 hours of access on weekends or something similar).

      Note that you should be vary aware of the security implications of this scheme (for example, that the device fingerprinting is unique and that the access token is narrowly scoped enough that if it is somehow obtained by an attacker it can't be used to damage the system)

    • danD

      logout questions

      logout • • dan
      6
      0
      Votes
      6
      Posts
      6.3k
      Views

      B

      @dan said in logout questions:

      've got a question about logout.
      When logging in using the /oauth2/token route with the auth wordle code grant, it seems the /api/logout route does not revoke the refresh token.
      Is intended? Is the best way to log out in this case is with the /ouath2/logout route? How does that know which user to log out? there's no user id or refresh token property in the body.

      Regarding user identification during logout, the OAuth 2.0 specification doesn't define a standard logout endpoint. Logout processes are often application-specific, and the mechanism to identify the user being logged out might depend on the authentication framework or technology being used.

    • J

      Unsolved IIS Reverse Proxy not showing FusionAuth Page correctly

      • • jawaid.karim
      4
      0
      Votes
      4
      Posts
      1.9k
      Views

      danD

      @jawaid-karim Are you setting all the headers mentioned here? https://fusionauth.io/docs/operate/deploy/proxy-setup

    • danD

      Password that never expires?

      passwords expiration • • dan
      5
      0
      Votes
      5
      Posts
      1.7k
      Views

      danD

      If you needed to, you could always build an API integration (the User Update API lets you reset passwords, or you could initiate a Change Password Request) into your application for a specific user.

    • T

      Unsolved User Account Not Linked to IDP

      • • thomas.wojeck
      4
      1
      Votes
      4
      Posts
      427
      Views

      danD

      @thomas-wojeck

      Have you turned on the debug logs and looked in the event log? That's what I'd start doing to troubleshoot.

      More here: https://fusionauth.io/docs/operate/troubleshooting/troubleshooting#enabling-debugging

    • I

      Unsolved Howto setup a local FusionAuth evaluation server with a self-signed certificate

      • • info 0
      2
      0
      Votes
      2
      Posts
      339
      Views

      A

      @info-0 are you able to use our global one?

      https://local.fusionauth.io/ will redirect to http://localhost:9011

      If not a great option is to setup ngrok
      https://fusionauth.io/docs/get-started/download-and-install/development/exposing-instance

      ngrok http --request-header-add 'X-Forwarded-Port:443' 9011

    • F

      Solved Why does import user with Registration fail?

      import wordpress type ritza registration • • fusionauth.qhj5e
      4
      0
      Votes
      4
      Posts
      2.2k
      Views

      A

      @fusionauth-qhj5e I have brought this up internally, for now we are considering adding a PR to make it more clear for users.

      https://github.com/FusionAuth/fusionauth-site/pull/2918