• 1 Votes
    2 Posts
    2k Views
    danD
    @jvadaliya FusionAuth enforces MFA for users at the tenant or application level, but not the specific user. You can file a feature request here: https://github.com/fusionauth/fusionauth-issues/issues You can also make an API call in your application after the user has logged in to force MFA for only certain users; this is called step up auth: https://fusionauth.io/docs/v1/tech/guides/multi-factor-authentication#step-up-auth Hope this helps.
  • 0 Votes
    2 Posts
    5k Views
    H
    @dan I faced similar kind of issue last time, I am still searching for some proper solution.
  • SAML v2 IdP Initiated Identity Provider

    Moved Unsolved
    2
    1
    0 Votes
    2 Posts
    1k Views
    danD
    @joey-zhang I'm not sure what you mean? Can you please explain further?
  • Importing users with + in email address fails?

    Moved Unsolved
    2
    1 Votes
    2 Posts
    1k Views
    danD
    @ryan-2 Hmmm. I searched our GH issues list: https://github.com/fusionauth/fusionauth-issues/issues and didn't see that as an issue. I also reviewed our import API doc and didn't see it either. Can you please share more details, including the version of FusionAuth you were using and repro steps? That would be be helpful in characterizing this issue in more detail.
  • SAML IDP - message.State is null or empty

    Moved Unsolved
    3
    1 Votes
    3 Posts
    4k Views
    T
    @dan figured out a workaround based of the auth0 documentation. I have added a new route in our API gateway as the callback url in fusionauth. This is the RelayState (or redirect_uri with the acs) that we are providing for our IdP providers. The route for example is now: /signin-saml-oidc?code=j6rOnUBViLU1kR5UA2eKK_UTzc-cO2auei53TJU9X8g&locale=en_US&userState=Authenticated Which we just issue a ChallengeAsync which then redirects back to fusionauth and then redirects back to signin-oidc with the code and state parameter. await this.HttpContext.ChallengeAsync() Obviously this isn't ideal & add's another redirect in the flow, but it works as the user is authenticated in FusionAuth & our gateway is triggered the challenge (so generating the state) FusionAuth Version: 1.44.0
  • I can't change the redirect URL for OpenID Connect

    Moved Unsolved
    3
    1
    0 Votes
    3 Posts
    3k Views
    danD
    @hazelmarissa1 Since you are using cleanspeak, I'd suggest filing a support ticket if you are having issues. Log into your Cleanspeak account from here: https://account.cleanspeak.com/ and you should have options to file a ticket. This forum is for FusionAuth users, so you probably won't get much help here.
  • Are FusionAuth docker images affected by the docker hub changes?

    Moved Solved
    2
    0 Votes
    2 Posts
    3k Views
    danD
    Nope. FusionAuth pays for an organization and the FusionAuth dockerhub images will remain freely available.
  • FusionAuth and API Gateway (Kong)

    Moved
    3
    1
    0 Votes
    3 Posts
    4k Views
    danD
    We have started to document API gateway integrations with FusionAuth here: https://fusionauth.io/docs/v1/tech/developer-guide/api-gateways/
  • How can I expose the instance on my Ubuntu server?

    Moved Solved
    2
    0 Votes
    2 Posts
    1k Views
    J
    @javi Here is the answer I got on SO: https://stackoverflow.com/questions/75665818/how-can-i-expose-fusionauth-on-ubuntu-apache-to-connect-from-browser/75667048#75667048 Question closed!
  • 0 Votes
    4 Posts
    13k Views
    danD
    @m-arlynrasavong Hmmm. Can you share more details?
  • Kickstart properties

    Moved Solved
    5
    1 Votes
    5 Posts
    6k Views
    P
    @dan Yes, this answers my question, thank you!
  • Issue with istio and FusionAuth

    Moved Solved istio kubernetes
    2
    0 Votes
    2 Posts
    4k Views
    danD
    There are a couple of things to check: make sure that you've updated the issuer at the tenant screen: https://fusionauth.io/docs/v1/tech/core-concepts/tenants#general make sure you are using an asymmetric keypair to sign the id token. If you are using HMAC, which is the default for FusionAuth, you have to share a secret. Asymmetric algorithms like RSA256 are what proxies typically need (so they don't have to have the signing secret). More here: https://fusionauth.io/docs/v1/tech/core-concepts/applications#jwt and here: https://fusionauth.io/docs/v1/tech/core-concepts/key-master Hope that helps.
  • How to get from a JWT payload to registration.data?

    Moved Unsolved
    3
    0 Votes
    3 Posts
    7k Views
    J
    @damien said in How to get from a JWT payload to registration.data?: Each of the applications that I intend to create registrations for already have their own identifiers. I suspect this is very common. After authenticating my user, and confirming that they have an active registration to use the target application, I then need to know their corresponding "application account ID". For example, if my application is "bank account", I need to know which "account number" is owned by user@example.com From the docs, my understanding is that the expected/recommended way to handle this is to store the account number in registration.data like: { "account number": 12345 } And maybe I also declare that they're a primary account owner via roles. I saw in the docs that a JWT includes roles within its payload, so I can easily find out that my user@example.com is a primary account owner of my "bank account" application - but what is the recommended way to discover that they own "account number 12345" ? Do I literally need to resort to the registration API? Yes, if you need to retrieve the specific "account number" associated with a user's registration for your application, you would need to use the registration API to fetch the registration data that includes the account number. You could then parse the JSON data to extract the account number. It is recommended to store the account number in the registration.data field, as you mentioned in your question. This way, when you fetch the registration data using the registration API, you can easily access the account number associated with that registration. Alternatively, you could consider including the account number as a claim in the JWT payload when the user logs in, along with their roles. This would eliminate the need to fetch the registration data separately. However, you should be careful about including sensitive information in the JWT payload, as it could potentially be intercepted or tampered with. It is generally recommended to keep the JWT payload as lightweight as possible and only include the necessary information for authorization purposes.
  • "A unique identifier was not provided for the user" when new user from AAD

    Moved Unsolved
    3
    1 Votes
    3 Posts
    3k Views
    N
    Facing same issue but no response from anyone and could not find this topic troubleshooting in google.
  • What language is the server/IDP written in?

    Moved Solved
    2
    0 Votes
    2 Posts
    1k Views
    danD
    It is written in Java. More here: https://fusionauth.io/docs/v1/tech/installation-guide/system-requirements#java
  • Create user with FusionAuth Admin Interface from Kickstartfile

    Moved Unsolved
    14
    1
    1 Votes
    14 Posts
    17k Views
    C
    Hi, I am fairly new to FusionAuth and have the same issue as the original poster. The Kickstart file I created does not allow the user to login to access the admin interface. What I attempting to do is run locally in Docker containers, so that the same set up can be used by another developer from docker compose. Please could I have some help with the Kickstart file? It runs, does not appear to throw any errors in the fusionauth logs, but i cannot login. Please find enclosed the kickstart file and the docker compose snippet. Regards Chris Kickstart file { "variables": { "adminEmail": "admin@fusionauth.io", "password": "apassword", "defaultTenantId": "68e4bbcf-f44b-a066-34c1-d53bdd4e4810", "applicationId": "80640732-cecc-4962-9928-6937bee1090a" }, "apiKeys": [ { "key": "nvbt6nwmxyHQVy2F7xYCgSgLww4ssUy9csmzVAEJatS4mkp7H2vGogJI", "description": "Standard development API key" } ], "requests": [ { "method": "POST", "url": "/api/application/80640732-cecc-4962-9928-6937bee1090a", "body": { "application": { "name": "LocalApp", "roles": [ { "name": "admin" }, { "name": "user" }, { "name": "user-admin" } ], "oauthConfiguration": { "clientSecret": "AsCh5TTgB_JmeSr57P15M31S0nblbbak5h15ZHU7kVc", "clientID": "80640732-cecc-4962-9928-6937bee1090a", "authorizedOriginURLs": [ "http://localhost:3000", "http://localhost:3016" ], "authorizedRedirectURLs": [ "http://localhost:3000/api/v1/auth/callback" ], "enabledGrants": [ "authorization_code", "password", "refresh_token" ], "logoutURL": "http://localhost:3000/api/v1/auth/logout", "generateRefreshToken": true } } } }, { "method": "POST", "url": "/api/user/registration/00000000-0000-0000-0000-000000000001", "body": { "skipRegistrationVerification": true, "user": { "email": "john@genericcompany.com", "firstName": "John", "lastName": "Smith", "password": "apassword", "imageUrl": "" }, "registration": { "applicationId": "80640732-cecc-4962-9928-6937bee1090a", "roles": [ "admin" ] } } }, { "method": "POST", "url": "/api/user/registration/00000000-0000-0000-0000-000000000002", "body": { "skipRegistrationVerification": true, "user": { "email": "james@genericcompany.com", "firstName": "James", "lastName": "Smith", "password": "apassword", "imageUrl": "" }, "registration": { "applicationId": "80640732-cecc-4962-9928-6937bee1090a", "roles": [ "admin" ] } } }, { "method": "POST", "url": "/api/user/registration/00000000-0000-0000-0000-000000000003", "body": { "user": { "email": "adam@genericcompany.com", "firstName": "Adam", "lastName": "Smith", "password": "apassword", "imageUrl": "" }, "registration": { "applicationId": "80640732-cecc-4962-9928-6937bee1090a", "roles": [ "admin", "user", "user-admin" ] } } }, { "method": "POST", "url": "/api/user/registration/00000000-0000-0000-0000-000000000004", "body": { "user": { "email": "jane@genericcompany.com", "firstName": "Jane", "lastName": "Smith", "password": "apassword", "imageUrl": "" }, "registration": { "applicationId": "80640732-cecc-4962-9928-6937bee1090a", "roles": [ "user" ] } } }, { "method": "POST", "url": "/api/user/registration/00000000-0000-0000-0000-000000000005", "body": { "user": { "email": "helga@genericcompany.com", "firstName": "Helga", "lastName": "Smith", "password": "apassword", "imageUrl": "" }, "registration": { "applicationId": "80640732-cecc-4962-9928-6937bee1090a", "roles": [ "user" ] } } }, { "method": "POST", "url": "/api/user/registration/00000000-0000-0000-0000-000000000006", "body": { "user": { "email": "Susan@genericcompany.com", "firstName": "Susan", "lastName": "Smith", "password": "apassword", "imageUrl": "" }, "registration": { "applicationId": "80640732-cecc-4962-9928-6937bee1090a", "roles": [ "user" ] } } } ] } Docker compose snippet fusionauth: image: fusionauth/fusionauth-app:1.43.0 container_name: fusionauth depends_on: authdb: condition: service_healthy environment: DATABASE_URL: jdbc:postgresql://authdb:5432/${POSTGRES_DB} DATABASE_ROOT_USERNAME: ${POSTGRES_USER} DATABASE_ROOT_PASSWORD: ${POSTGRES_PASSWORD} DATABASE_USERNAME: ${DATABASE_USERNAME} DATABASE_PASSWORD: ${DATABASE_PASSWORD} FUSIONAUTH_APP_MEMORY: ${FUSIONAUTH_APP_MEMORY} FUSIONAUTH_APP_RUNTIME_MODE: development FUSIONAUTH_APP_URL: http://localhost:9011 SEARCH_TYPE: database FUSIONAUTH_APP_KICKSTART_FILE: ${FUSIONAUTH_APP_KICKSTART_FILE} networks: - localnet restart: unless-stopped ports: - 9011:9011 volumes: - ./conf/fusionauth/config:/usr/local/fusionauth/config - ./conf/fusionauth/kickstart:/usr/local/fusionauth/kickstart - ./volumes/fusionauth/logs:/usr/local/fusionauth/logs authdb: image: postgres:12.5-alpine container_name: authdb hostname: authdb ports: - "5433:5432" environment: PGDATA: /var/lib/postgresql/data/pgdata POSTGRES_DB: ${POSTGRES_DB} POSTGRES_USER: ${POSTGRES_USER} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} healthcheck: test: [ "CMD-SHELL", "pg_isready -U postgres" ] interval: 5s timeout: 5s retries: 5 networks: - localnet restart: unless-stopped volumes: - ./volumes/authdb:/var/lib/postgresql/data
  • 1 Votes
    3 Posts
    9k Views
    L
    I have same query can you provide me some suggestion?
  • Are inter-tenant operations allowed ?

    Moved Unsolved
    3
    1 Votes
    3 Posts
    2k Views
    danD
    @francis-ducharme Glad you figured it out, and thanks for sharing.
  • How to implement multi-tenancy in fusionauth

    Moved Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    J
    @podnebesnyp said in How to implement multi-tenancy in fusionauth: Does FustionAuth have the ability to create the application with many tenants or without selected tenant? Or is there an idea to have a base application for multi-tenancy as described here https://fusionauth.io/docs/v1/tech/guides/multi-tenant#why-use-multi-tenancy Yes, FusionAuth has the ability to create applications with multiple tenants, as well as the ability to create applications without selecting a specific tenant. Applications can be created with the option to enable multi-tenancy, which allows for the creation and management of multiple tenants within the same application. This can be useful for scenarios where you need to separate data or functionality between different groups of users or organizations. On the other hand, you can also create applications without enabling multi-tenancy, which means that all users would be considered part of the same tenant. This can be useful for simpler applications that do not require separation of data or functionality between different groups.
  • Receiving `[invalidJSON]` error when making FusionAuth API calls

    Moved Solved api error json
    2
    0 Votes
    2 Posts
    5k Views
    S
    HTTP clients, not just Axios, may impose their own requirements for building a valid request or have their own quirks to deal with. In this case the error can be resolved by providing a Content-Length header with the length of the JSON request data when making the API request via Axios. If you experience issues with a particular HTTP client, it may be helpful to compare the behavior with another client or check whether there are HTTP headers that may be required by the client.