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

      Magic link expiration when email previews link

      email passwordless preview outlook • • dan
      2
      0
      Votes
      2
      Posts
      1.5k
      Views

      danD

      This is unfortunately a known issue. See https://github.com/FusionAuth/fusionauth-issues/issues/629 for some discussion. There are some workarounds in some situations (allow lists in Office 365) but no general workaround.

    • danD

      Can I configure the inactivity timeout of the FusionAuth Session cookie?

      from-slack cookies sessions inactivity faq • • dan
      8
      2
      Votes
      8
      Posts
      20.4k
      Views

      danD

      @chakshu

      Sorry, I pointed you to the incorrect setting.

      You can go to Applications > FusionAuth > Edit > JWT > Refresh Token duration

      Changing that to 1 (the value is in minutes) caused me to be signed out of the admin application after 60 seconds.

      Hope that helps.

    • D

      Multiple nodes sharing IP address?

      • • davidmw
      14
      0
      Votes
      14
      Posts
      4.8k
      Views

      danD

      I wrote a guide for running fusionauth in a clustered/multi node setup: https://fusionauth.io/docs/v1/tech/installation-guide/cluster/

      The bug about the ip addresses being the same (which was only a display bug, not a functionality bug) was also addressed in 1.23.0: https://fusionauth.io/docs/v1/tech/release-notes/#version-1-23-0

    • S

      FA as a SAML IdP - IdP-initiated URL?

      saml • • sboykin
      4
      0
      Votes
      4
      Posts
      1.0k
      Views

      danD

      Awesome! I know this is on our minds, but don't have an exact timeline for when it'll be implemented.

    • C

      Application user permissions not working

      • • chris.smith
      6
      0
      Votes
      6
      Posts
      661
      Views

      danD

      Thank you. Merged the PR. That was a boneheaded mistake on my part, sorry about that!

    • danD

      Initiating login from a SAML IdP?

      saml idp login • • dan
      2
      0
      Votes
      2
      Posts
      1.1k
      Views

      danD

      We don’t currently support IdP initiated login.

      This has come up a few times, we’ll likely end up adding it, but for now it is not possible. We have an open feature for this in GitHub.

      Please feel free to upvote it or otherwise communicate your desire for this work to be done.

    • Y

      PostgreSQL Search Performance Issue

      • • yyyuksel1992
      2
      0
      Votes
      2
      Posts
      245
      Views

      danD

      Hiya,

      Which search engine are you using (database or elasticsearch)?

      Do you see any log messages in either FusionAuth's logs or the database/elasticsearch's?

      Dan

      PS if you are running in production with 2.5M users and want specific performance help with a guaranteed response time and access to the engineering team, we recommend purchasing a paid edition which includes support. More info here (scroll down to see support options).

    • danD

      CORS question

      cors origins • • dan
      2
      0
      Votes
      2
      Posts
      1.3k
      Views

      danD

      Looking at how the filter works, it looks like we either find * which allows all origins, or - we look for exact matches in the configuration based upon the Origin HTTP header.

      So you can't allow all subdomains in FusionAuth at this time.

    • danD

      C++ library

      client-library c++ • • dan
      2
      0
      Votes
      2
      Posts
      2.7k
      Views

      danD

      We have an open issue for this: https://github.com/FusionAuth/fusionauth-issues/issues/603 Please do vote it up.

      We also are investigating OpenAPI which would let you build a C++ library. More here: https://github.com/FusionAuth/fusionauth-issues/issues/614

      Finally, I will point out that you can use the REST API and a JSON library and FusionAuth will work just swimmingly. I'm not C++ savvy, but https://github.com/nlohmann/json and https://github.com/jgaa/restc-cpp look like they could be combined to do the trick.

    • E

      Unsolved This topic is deleted!

      • • emiglobetrotting
      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • C

      [How?] Laravel native Auth with FusionAuth

      laravel php sso oauth • • chirag
      3
      0
      Votes
      3
      Posts
      3.6k
      Views

      danD

      @chirag have you seen these? https://fusionauth.io/learn/expert-advice/authentication/login-authentication-workflows/

      Reviewing them and mapping your use case on to them may be helpful.

    • danD

      Prepopulate the email address?

      email address populate login • • dan
      3
      0
      Votes
      3
      Posts
      923
      Views

      danD

      Yes. See the login_hint parameter here: https://fusionauth.io/docs/v1/tech/oauth/endpoints/#authorize

    • danD

      Spring boot Oauth2 resource server Jwt Encoder

      • • dan
      2
      0
      Votes
      2
      Posts
      4.1k
      Views

      danD

      The JwtDecoders.fromIssuerLocation will attempt to resolve the jwks_uri from the OpenID Connect discovery document found using the issuer URI.

      https://github.com/spring-projects/spring-security/blob/848bd448374156020210c329b886fca010a5f710/oauth2/oauth2-jose/src/main/java/org/springframework/security/oauth2/jwt/JwtDecoders.java#L119

      The FusionAuth JSON Web Key Set (JWKS) only publishes the public key from asymmetric key pairs. This means there are no public keys published and the Spring boot library cannot verify the token signature.

      For example, if your issuerUri is https://example.com then the OpenID Discovery URL is https://example.com/.well-known/openid-configuration and the value for jwks_uri found in the JSON response from that URL will be https://example.com/.well-known/jwks.json. If you hit that URL you will see no public keys are being returned, this is the JSON that the library is consuming in an attempt to build the public key necessary to validate the JWT signature.

      To use this strategy then you'll need to configure FusionAuth to sign the JWT using an RSA or ECDSA key pair instead of the default HMAC key which is symmetric.

      Generate a new RSA or ECDA key pair in Key Master (Settings > Key Master) and then ensure you have your JWT signing configuration use that key. The primary JWT signing configuration will be found in the tenant, with optional application level overrides.

      https://fusionauth.io/docs/v1/tech/core-concepts/tenants/#jwt
      https://fusionauth.io/docs/v1/tech/core-concepts/applications/#jwt

    • danD

      FusionAuth stops randomly, but nothing in the log

      • • dan
      2
      0
      Votes
      2
      Posts
      416
      Views

      danD

      You could take a look at the system log. If the OOM killer ended a process due to memory constraints it will be logged there.

      You might see lines like:

      Dec 30 12:00:38 vps kernel: Out of memory: Kill process 30047 (java) score 98 or sacrifice child

      The OOM killer will begin killing services once the kernel runs out of memory. The solution will be to allocate less memory to FusionAuth or to increase the amount of RAM available to the host OS. You can do the former with the fusionauth-app.memory setting. See the configuration reference for more details.

    • M

      FusionAuth in a cluster and separate user sessions for each node

      • • maciej.wisniowski
      4
      1
      Votes
      4
      Posts
      6.5k
      Views

      danD

      Note that as of 1.19.0, session pinning/sticky sessions are no longer required. More details here.

    • danD

      403 error when registering with Apple

      apple cors registration • • dan
      2
      0
      Votes
      2
      Posts
      3.2k
      Views

      danD

      Yes, just confirmed the fact that this is a Safari only issue. Only Safari seems to be doing this, we don’t return a 403 so this must a CORS failure. Perhaps Apple is sending additional headers on the request when using Safari that need to be accounted for in the Allowed headers.

      I added GET to the allowed methods for CORS and it works that seems to allow it to work in Safari. Please test and let me know.

      The redirect workflow looks to be different in Safari when using native controls vs Chrome or other browsers.

    • U

      Multi-Tenant Tenant specific IDP

      • • ubreddy
      2
      0
      Votes
      2
      Posts
      369
      Views

      danD

      Hiya!

      With FusionAuth, identity providers are global objects. You configure them to apply to given applications (via enabling them) using the API or the UI. Applications are scoped to a tenant.

      So, if you wanted to make sure that a customer had Okta enabled, you'd do the following:

      Set up an Okta OIDC identity provider Create a tenant for the customer Create an application in that tenant Enable the Okta OIDC identity provider for that application

      More details here: https://fusionauth.io/docs/v1/tech/identity-providers/

      HTH.

    • danD

      DistributedCacheNotifier error message when loading data

      logs error timeout • • dan
      2
      0
      Votes
      2
      Posts
      3.7k
      Views

      danD

      We have had a couple of people have this exception in Kubernetes because the nodes can’t talk to each other. Is your setup configured so that each node can talk to each other node?

      I would expect that the configuration would need to use the k8s names rather than IP addresses for all of the nodes. This is configurable in the configuration file or through env variables. More here: https://fusionauth.io/docs/v1/tech/reference/configuration/ . Look for the fusionauth-app.url setting.

    • danD

      Preload configuration

      configuration development setup • • dan
      2
      0
      Votes
      2
      Posts
      1.9k
      Views

      danD

      I think you are looking for kickstart: https://fusionauth.io/docs/v1/tech/installation-guide/kickstart

      Here's how to run configure Kickstart to run when you are using docker: https://fusionauth.io/docs/v1/tech/installation-guide/docker/#kickstart

      I'm not sure how you are starting your containers, but I imagine you could create and make a kickstart file available in other deployment environments also.

    • H

      Redirect after email verification with authenticated user state

      • • harish_reddy
      5
      0
      Votes
      5
      Posts
      1.5k
      Views

      danD

      Ah, I see. Yes, this is new functionality; the javascript redirect is the best option currently, but that won't automatically log a user in.

      If you have a support contract, please open a support ticket.

      Otherwise, please file a feature request in our github issues repo.