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
    • B

      Unsolved IdP hint for register?

      • • bryanlandia
      2
      0
      Votes
      2
      Posts
      701
      Views

      danD

      @bryanlandia I don't quite understand what you are trying to do. Can you send the user to the SAML IdP on registration with a normal login hint and have them register there? As long as FusionAuth gets back the signed assertion, it doesn't care if the user logged in or registered at the IdP.

      So you could actually replace the FusionAuth registration link with a link to the SAML IdP with a login_hint.

      Or am I missing something?

    • danD

      Is there a way to upload images for custom login page themes?

      theme login faq • • dan
      2
      0
      Votes
      2
      Posts
      11.1k
      Views

      B

      @dan Last week ago I am facing that issue and I am still not got any solution.

    • T

      Unsolved "Insufficient memory for the Java Runtime Environment" with fusionauth/fusionauth-app:1.41.0

      • • twilkinson
      2
      0
      Votes
      2
      Posts
      1.1k
      Views

      danD

      Hmmm. Haven't run into this before. You are right, it sure looks like you have enough memory.

      This GH issue indicates you might need to update your docker.

      https://github.com/adoptium/temurin-build/issues/2976#issuecomment-1152142311

      But I'm not quite sure what is going on. Did you find a solution?

    • K

      Unsolved Production deploy with docker-compose

      • • khairul
      2
      0
      Votes
      2
      Posts
      552
      Views

      danD

      @khairul We recommend running FusionAuth behind a proxy. More docs on that here: https://fusionauth.io/docs/v1/tech/admin-guide/proxy-setup

      If you are running in docker-compose, you should be able to add an nginx or other proxy image and connect that to FusionAuth.

      The proxy can then terminate TLS and run on port 443.

    • danD

      Solved Any way to customize fail logins message?

      • • dan
      2
      0
      Votes
      2
      Posts
      343
      Views

      danD

      That is correct. For security reasons, we do not provide feedback if the user exists but the password is incorrect, vs the situation where user does not exist.

      This is true both in the hosted login pages and the login API response codes. That's what we recommend if you build your own pages as well.

    • D

      Unsolved Updating and removing existing User PreferrredLanguage

      • • duke
      2
      0
      Votes
      2
      Posts
      767
      Views

      H

      Select Start > Settings > Time & language > Language & region. Under Preferred languages, select the language you want to remove, and then select Remove.

    • danD

      Unsolved Validate refresh tokens

      refresh token • • dan
      2
      0
      Votes
      2
      Posts
      2.4k
      Views

      danD

      A refresh token is opaque; you cannot validate it yourself.

      The general pattern for validating a refresh token is to use it to refresh the JWT, and if the refresh attempt fails, that indicates the refresh token is no longer valid.

      You could also retrieve a user’s refresh tokens and compare it to the ones returned by FusionAuth.

      More details:

      https://fusionauth.io/docs/v1/tech/apis/jwt#refresh-a-jwt
      https://fusionauth.io/docs/v1/tech/apis/jwt#retrieve-refresh-tokens

    • E

      Unsolved Email CTR and open rates

      • • eduards.celmins
      3
      0
      Votes
      3
      Posts
      978
      Views

      R

      I value the insights and guidance you provide, I will try to figure it out for more.

    • danD

      Unsolved Track session length for reporting

      • • dan
      2
      0
      Votes
      2
      Posts
      544
      Views

      danD

      The easiest way to do so is to listen for the jwt.refresh-token.revoke event.

      It's documented here: https://fusionauth.io/docs/v1/tech/events-webhooks/events/jwt-refresh-token-revoke

      In particular, you have the date of the revocation (the end of the session). If it is an individual session revocation, you have the start date, which is the startInstant inside the events refreshToken field.

      If your webhook processor does the subtraction of these two values, you'll be able to find and record the duration of the session length.

    • R

      Unsolved Registration Required persistent

      • • ryan.zeelie
      3
      1
      Votes
      3
      Posts
      1.6k
      Views

      L

      @dan And how do you add a button? Do you have an example? if I want to delete the token and make a forward redirect the user to another page (the login, for example).

    • O

      Unsolved Registering existing users does not error

      • • olly
      3
      0
      Votes
      3
      Posts
      842
      Views

      M

      No error in registering existing users.

    • J

      Unsolved Is it possible to add columns in order to sort with lastLogin from UI ?

      • • jbtruffault
      4
      0
      Votes
      4
      Posts
      841
      Views

      danD

      @jbtruffault Thanks! The admin UI has minimal customization, but appreciate you raising the issue. It's on the list.

    • R

      Manually verifying a JWT

      • • raghebmichael
      17
      0
      Votes
      17
      Posts
      14.9k
      Views

      G

      @raghebmichael said in Manually verifying a JWT:

      Something is very wrong. I don't know if this is something anybody else is facing, but I changed to a RS256 key and used the public key on jwt.io and it is still invalid. I cannot validate a JWT outside of /api/jwt/validate. This is a really big deal to me to be able to do something as simple as validating. Please let me know if I am in error, but if I can't get this to work I cannot continue using fusionauth and that's a big bummer to me as I had high hopes for this service.

      b63ceaca-e17c-48e4-b7cc-fe757eff696f-image.png

      This is exactly what I was looking for to solve my problem.
      Thank you very much.

    • G

      Unsolved Integrating FusionAuth as OTP Provider with Exchange Server using ADFS Authentication

      • • g.natsoulis
      2
      0
      Votes
      2
      Posts
      565
      Views

      danD

      @g-natsoulis

      Hiya, can you explain a little more about what you are looking for? I'm not quite sure what you mean by "an OTP provider for an Exchange server that has ADFS authentication set up?"

    • F

      Unsolved Maintenance Mode on Remote Server

      • • fusionauth 0
      2
      0
      Votes
      2
      Posts
      1.4k
      Views

      danD

      @fusionauth-0

      Hmmm. So you are saying that:

      you can connect from the ec2 instance to your postgresql instance. you can connect via the web to the fusionauth instance, but it is stuck in maintenance mode.

      Where is the postgresql instance running? Is it on the same ec2 instance as FusionAuth?

      What value are you putting for the hostname?

    • B

      Unsolved SQL error on request_frequencies Table

      • • becharam
      4
      0
      Votes
      4
      Posts
      1.7k
      Views

      danD

      @langnerfrancesco What version of FusionAuth are you using?

      What version of postgresql?

    • D

      Unsolved Cannot setup the first administrator account

      • • dadastakecrypto
      7
      1
      Votes
      7
      Posts
      2.3k
      Views

      danD

      @vvicazz That's great news!

    • B

      Unsolved How to invalidate jwt issued before deativating user?

      • • bharath.yadavally
      6
      0
      Votes
      6
      Posts
      5.5k
      Views

      danD

      @bharath-yadavally You could absolutely use the 2 step approach you outlined. There are two different approaches that have different strengths and weaknesses.

      The tradeoffs are that if you make those two calls, you're depending on the identity provider to be up and available to your backend service. You're tightly coupling the backend service to the identity provider.

      That can work fine, but as you scale, more and more backend services will be making those calls, and the idp and speedy connections to it become more and more critical to your application.

      Contrast that with the webhook approach, where the data is pushed to every backend service, and only when a user is deactivated. In this case, there'll be far less coupling with the identity provider, at the cost of more complexity on the backend service side.

      Hope that helps.

    • K

      Unsolved Using reconsile api to get access token for AzureAD OpenID Connect

      • • kushalborda1997
      2
      0
      Votes
      2
      Posts
      4.7k
      Views

      danD

      @kushalborda1997 Hiya,

      We recently updated the documentation to make it more clear you shouldn't use the /api/jwt/reconcile endpoint for any identity providers except the external JWT provider. We'll change the application to make the error message clearer; here's the tracking issue: https://github.com/FusionAuth/fusionauth-issues/issues/2074

      You should use the OIDC provider and the complete login endpoint. Here's documentation that should help: https://fusionauth.io/docs/v1/tech/apis/identity-providers/openid-connect#complete-an-openid-connect-login

      Hope that helps!

    • D

      Unsolved Registration email

      • • didier
      2
      0
      Votes
      2
      Posts
      723
      Views

      danD

      @didier I'm not sure I understand.

      You are saying you want to send the registration email yourself, not automatically with FusionAuth?

      (There are two possible verification emails. One is for a user creation, which verifies their email whenever someone creates a user, for any application. Another is for registration verification, which again checks their email but only when someone registers for a certain application.)

      If that is the case, use the skipVerification and skipRegistrationVerification settings if using the API. There are analogous settings in the admin UI as well.

      More documentation here: https://fusionauth.io/docs/v1/tech/apis/registrations#create-a-user-and-registration-combined

      and here: https://fusionauth.io/docs/v1/tech/core-concepts/applications#registration

      and here: https://fusionauth.io/docs/v1/tech/core-concepts/tenants#email