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

      Unsolved Password policy per user

      • • omryc3
      2
      0
      Votes
      2
      Posts
      1.9k
      Views

      danD

      @omryc3 Have you tested the authentication tokens and seeing if the password policy applies to them? I'm not sure myself, but it should be an easy test to run.

      It is not possible to have different password rules apply to users in the same tenant, since they are tenant level policies and apply to every user within a tenant.

      You could have the users that you want to have no password expiration use OIDC to login against a third party server. (And that server could be a different FusionAuth instance.)

    • M

      Unsolved Which regular expression is used to verify the users phone number?

      • • markus.wild
      2
      1
      Votes
      2
      Posts
      2.7k
      Views

      danD

      @markus-wild

      Hmmm. A few more details would be helpful. Are you using the basic self service registration form? And the mobilePhoneNumber field? Or is it some other field that you are using?

      What is the exception you are seeing? Where does it show up? What does the end user see?

      Also, what version of FusionAuth are you using?

      Thanks!

    • P

      Unsolved Fusion Auth w/ Vitess DB

      • • psmiddy
      3
      0
      Votes
      3
      Posts
      4.1k
      Views

      P

      @maciej-wisniowski Thanks for your help. I was able to connect but had some trouble from then on. I will create an issue on github and see if official support can be added.

      Is there a recommended way of running fusion auth on a clustered database?

    • danD

      How do you assign a theme to an application?

      theme faq application • • dan
      5
      0
      Votes
      5
      Posts
      7.6k
      Views

      danD

      @fred-fred

      Hiya,

      In addition to what @maciej-wisniowski suggested, if you have a paid license you can now have application specific themes (one theme per application; if no application theme is specified, it defaults to the tenant).

      You can see how that works in the sandbox environment (sandbox.fusionauth.io). I believe that feature landed in 1.27.0.

      You can buy a licensed edition here.

    • E

      Unsolved Cann't import_users in Django

      • • engineering 0
      4
      0
      Votes
      4
      Posts
      4.2k
      Views

      M

      @engineering-0 Try this:

      users = [] for user in User.objects.all(): user_data = {} ... encryption_scheme = "salted-pbkdf2-hmac-sha256" algorithm, iterations, salt, password_hash = user.password.split('$') salt = base64.b64encode(salt.encode('utf-8')).decode('utf-8') user_data['password'] = password_hash user_data['encryptionScheme'] = encryption_scheme user_data['factor'] = int(iterations) user_data['salt'] = salt users.append(user_data)
    • T

      Unsolved How should i validate Id token

      • • trashmi13
      2
      0
      Votes
      2
      Posts
      2.1k
      Views

      danD

      @trashmi13

      Hiya. You can validate this token using any JWT library, as Id Tokens are valid JSON Web Tokens.

      I'm not sure what language you are using, but here's an example for java using the fusionauth-jwt library:

      List<JSONWebKey> keys = JSONWebKeySetHelper.retrieveKeysFromJWKS("https://www.googleapis.com/oauth2/v3/certs"); Map<String, Verifier> publicKeyVerifiers = new HashMap<String,Verifier>(); for (JSONWebKey key : keys) { String publicKey = key.x5c.get(0); Verifier verifier = RSAVerifier.newVerifier(publicKey); // assuming all keys are RSA. You could switch on type as well. String kid = key.kid; publicKeyVerifiers.put(kid, verifier); } // Verify and decode the encoded string JWT to a rich object JWT jwt2 = JWT.getDecoder().decode(encodedJWT, publicKeyVerifiers); // make sure the aud and issuer are as expected if (jwt2.audience.equals("gge44ab3-027f-47c5-bb07-8dd8ab37a2d3") && jwt2.issuer.equals("www.acme.com") && (jwt.expiration.toEpochSecond() > (System.currentTimeMillis()/1000) )) { // valid id token }

      Hope this helps.

    • J

      Unsolved This topic is deleted!

      • • joedematteo9
      1
      0
      Votes
      1
      Posts
      1
      Views

      No one has replied

    • A

      Unsolved Using reconsile api to get access token

      • • adil
      6
      0
      Votes
      6
      Posts
      3.2k
      Views

      danD

      Seems like a bug, filed an issue: https://github.com/FusionAuth/fusionauth-issues/issues/1503

    • C

      Unsolved Silent Configuration Mode Failed

      • • classbazaarco
      2
      0
      Votes
      2
      Posts
      3.3k
      Views

      joshuaJ

      @classbazaarco

      What are you seeing in the event and error logs for FusionAuth?

      https://fusionauth.io/docs/v1/tech/troubleshooting/#logs

      Also, linking some additional doc here - https://fusionauth.io/docs/v1/tech/guides/silent-mode/#overview

      Thanks,
      Josh

    • danD

      Unsolved Sessions per application

      registrations sessions • • dan
      2
      0
      Votes
      2
      Posts
      1.7k
      Views

      danD

      Yes. A user can have one-to-many refresh tokens per application.

    • J

      Having issues with Angular 11 and Fusion Auth Cloud???

      • • justinfox
      2
      0
      Votes
      2
      Posts
      2.9k
      Views

      danD

      @justinfox Sorry for your frustration. Here is an angular app blog post and the authentication flows.

      https://fusionauth.io/blog/2020/03/31/how-to-securely-implement-oauth-angular/

      https://fusionauth.io/learn/expert-advice/authentication/login-authentication-workflows/

    • M

      Difference between product privacy policy and DPA?

      • • mikko.koskinen
      2
      0
      Votes
      2
      Posts
      1.2k
      Views

      danD

      @mikko-koskinen This is probably a better question for the sales team than the community forum.

      I'd suggest reaching out to them at https://fusionauth.io/contact/

    • Q

      Unsolved This topic is deleted!

      • • quent
      2
      0
      Votes
      2
      Posts
      26
      Views
    • danD

      Unsolved If I have a PWA, how often to users need to login

      login refresh token • • dan
      2
      0
      Votes
      2
      Posts
      3.3k
      Views

      danD

      The short answer is however often you want, but at least once per device.

      You basically can set up your refresh token policy to have your refresh tokens live for a very long time (as long as you are comfortable with the security risk; make sure to secure the refresh token carefully). That is controlled in in the application configuration: https://fusionauth.io/docs/v1/tech/core-concepts/applications/#jwt

      Then, every time an access token expires, you can mint a new one with the refresh token. Here are the APIs you'd be interested in calling:

      https://fusionauth.io/docs/v1/tech/apis/jwt/

    • E

      Reasonable connection limits?

      • • elliotdickison
      2
      0
      Votes
      2
      Posts
      908
      Views

      danD

      @elliotdickison

      We typically see the chokepoints for FusionAuth in either the CPU (when doing a lot of password hashing) or the database.

      More here: https://fusionauth.io/docs/v1/tech/installation-guide/monitor/#load-testing

      Since usage varies, I suggest you perform your own load testing to determine connection limits. Would love to see your conclusions!

    • E

      Custom MFA using step up API

      • • elciok
      2
      1
      Votes
      2
      Posts
      671
      Views

      danD

      @elciok

      There is currently no way to determine if someone has gone through step-up auth via the token. I did just add an issue: https://github.com/FusionAuth/fusionauth-issues/issues/1491 feel free to add comments there.

      What you can do is use a JWT populate lambda to add a claim to the JWT if the user has any MFA methods enabled. When you do a step up you'll get a token and you can look at that claim.

      HTH

    • A

      Unsolved Enter email only for SAML

      • • admin 3
      2
      0
      Votes
      2
      Posts
      635
      Views

      robotdanR

      @admin-3

      I think so. See the "Managed domains" configuration in the SAML v2 IdP.
      https://fusionauth.io/docs/v1/tech/identity-providers/samlv2/#create-a-saml-v2-identity-provider

      Adding one or more managed domains for this configuration will cause this provider not to be displayed as a button on your login page. Instead of a button the login form will first ask the user for their email address. If the user’s email address matches one of the configured domains the user will then be redirected to this login provider to complete authentication. If the user’s email address does not match one of the configured domains, the user will be prompted for a password and they will be authenticated using FusionAuth.

    • A

      Send additional params to identity providers link

      • • adil
      5
      0
      Votes
      5
      Posts
      2.3k
      Views

      joshuaJ

      @alex

      Thanks for the additional information! It sounds like this is already an active issue that you can upvote for consideration into future versions of FusionAuth.

      https://github.com/FusionAuth/fusionauth-issues/issues/1335

      If a good workaround comes to mind, I will be sure to let you know.

      Thanks,
      Josh

    • C

      OpenID Service provided link does not work with Identity Providers

      • • chrissmueller328
      8
      0
      Votes
      8
      Posts
      2.4k
      Views

      joshuaJ

      @chrissmueller328

      There is some discussion of this (mostly focused on SAML, but OIDC is referenced and considered as well)

      https://github.com/FusionAuth/fusionauth-issues/issues/566

      I will review further and see if the team has any other thoughts.

      Thanks,
      Josh

    • R

      Username and name is blank when create user with API (/api/user) occasionally

      • • rekhas.fahrizi
      2
      0
      Votes
      2
      Posts
      435
      Views

      joshuaJ

      @rekhas-fahrizi

      Can you provide a few more details about the request you are making (maybe a few code samples would be helpful as well)?

      Thanks,
      Josh