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

      Unsolved I'm seeing a "cannot deserialize value of type ‘java.util.uuid’ from string" error when posting to /api/login

      uuid login-api • • dan
      2
      0
      Votes
      2
      Posts
      6.8k
      Views

      danD

      It looks like the uuid isn't being sent as a string. Per https://fusionauth.io/docs/v1/tech/reference/data-types#uuids it should be quoted.

      So you want to send:

      { "applicationId": "15e45e7d-3e34-43df-9366-91c66a8cc9ae", "loginId": "myuserid", "password": "mypassword" }
    • danD

      Why is the fulltext-search with Elastic required?

      faq development setup elastic • • dan
      3
      0
      Votes
      3
      Posts
      5.6k
      Views

      danD

      Note that with version 1.16.x, elastic search is no longer required to run FusionAuth. More here about how you might make the choice: https://fusionauth.io/community/forum/topic/67/what-is-the-advantage-of-using-elasticsearch-as-the-search-engine

    • S

      Unsolved Is it sefe to get access to GET /api/jwt/refresh?userId={userId} method?

      security jwt • • szwejkc
      2
      0
      Votes
      2
      Posts
      2.6k
      Views

      danD

      Hiya,

      When you say

      Everybody can see authorization key.

      Who do you mean? Do you mean anyone with access to the FusionAuth admin console? Or some other set of users?

    • danD

      Solved Report for users by login method?

      login reporting • • dan
      2
      0
      Votes
      2
      Posts
      2.5k
      Views

      danD

      There's no built in reporting for login methods.

      If you think that'd be worthwhile, please file a github issue with more details about the use case.

      However, you could set up a webhook on the login event and record the event.authenticationType in an external datastore.

    • danD

      Solved I'm getting a 404 error when I'm searching for users?

      typescript client-library status code 404 • • dan
      2
      0
      Votes
      2
      Posts
      5.2k
      Views

      danD

      404 is a valid response code when using the client library to look for a user by email.

      If the user exists you’ll get 200 and if the user does not exist you’ll get 404.

      If you are using the client in the browser and don’t want to expose the 404 to the console, adding a try/catch would be a good idea. The 404 is the expected response code when the user does not exist:
      https://fusionauth.io/docs/v1/tech/apis/users#response-2

    • danD

      Solved Accessing system logs with hosted FusionAuth

      • • dan
      2
      0
      Votes
      2
      Posts
      391
      Views

      danD

      With version 1.16.x, you should see a 'logs' menu item in the admin screen. Before 1.16 the only option was contacting FusionAuth.

    • D

      X-Frame-Options and silent refresh

      • • dane.roe
      3
      0
      Votes
      3
      Posts
      1.4k
      Views

      danD

      Hi,

      So I'm not intimately familiar with this use case, but I have a couple of pointers.

      Did you add X-Frame-Options to the exposed headers in the System setting? (This is more of a guess than a recommendation 🙂 .)

      Silent refreshes have some other issues. This github issue may be of interest: https://github.com/FusionAuth/fusionauth-issues/issues/521 . It points to a workaround: https://stackoverflow.com/questions/55859793/is-prompt-none-for-silent-refresh-in-a-spa-possible-with-fusionauth-and-its-prov where there's actually a suggestion to tweak the web.xml file.

      Finally, if you have a support contract with us, please open a ticket.

    • danD

      Solved Can I replace the FA login forms with my own?

      • • dan
      2
      0
      Votes
      2
      Posts
      491
      Views

      danD

      You have a couple of options for customizing the login experience when you are using FusionAuth.

      You can use the password grant and create your own login page. Here's an example of the password grant. But this doesn't let you use the Authorization Code grant. You can use themes to customize the login pages. You could implement the authorization code grant without ever using the FA front end. You'd have to create your own login and logout pages on the server, and then have the server communicate via the API. Not sure why you'd want to do that, but maybe it meets your needs. You could use a third party tool like Hydra and use FA for your user data store.
    • V

      official guide for docker-compose instal not working

      • • vanja.milenkovic
      3
      0
      Votes
      3
      Posts
      625
      Views

      V

      @robotdan
      Seems I expected that configuration of fusionauth db at docker-compose file was enough, but after your answer, I inserted credentials again at 'maintenance' page, ant it is now started, thanks

    • S

      How to clean uninstall from Windows 10?

      • • scootcho.yoo
      3
      0
      Votes
      3
      Posts
      6.7k
      Views

      S

      Thank you for the quick reply! I have successfully uninstalled it.

      In addition to your instructions. I followed the same logic and removed the AppData as well.

      rmdir C:\Users\me\AppData\Local\Temp\fusionauth /s

      Thanks for your help!

    • danD

      Solved How large can the data field be for any of the FusionAuth resources?

      user-data database limits • • dan
      2
      0
      Votes
      2
      Posts
      11.3k
      Views

      danD

      If you're using PostgreSQL the size is essentially unlimited. With MySQL it is 16 MB.

      There are few exceptions to this rule where we may be using a 64 KB column if you're on MySQL.

      I wouldn't recommend storing that much data however. If you're using Elasticsearch, the custom data on the User will be indexed, and Elasticsearch will eventually hit a limit as well.

    • T

      Default application

      • • thiago
      6
      1
      Votes
      6
      Posts
      4.9k
      Views

      M

      Github issue: https://github.com/FusionAuth/fusionauth-issues/issues/632

    • danD

      Solved Does the instance need to be completely empty for kickstart to run?

      kickstart setup • • dan
      2
      0
      Votes
      2
      Posts
      4.8k
      Views

      danD

      Yup.

      Kickstart is intended to build the system up from scratch.

      We check for API keys, users, and a few other things to ensure we can start with a clean slate.

      If you already have an API key configured, you can also just script a set of API calls on your end as well. This is more/less what kickstart does.

      From the Kickstart docs:

      Kickstart will only run if no API keys, users or tenants exist, so you can safely leave this environment variable configured even after the system has been configured.

    • danD

      Solved When using kickstart are there any email templates included?

      kickstart email templates • • dan
      2
      0
      Votes
      2
      Posts
      1.4k
      Views

      danD

      Kickstart does not load any templates by default. You will need to create any template you’d like in your initial configuration.

      Outside of kickstart we do build some default templates. In Kickstart, no templates.

      Here's the email templates we ship with if you want to add them to your Kickstart: https://fusionauth.io/docs/v1/tech/email-templates/email-templates#templates-replacement-variables

    • danD

      Solved I am using the login API but I'm not getting a refresh token. Why?

      login login-api refresh token • • dan
      2
      0
      Votes
      2
      Posts
      5.2k
      Views

      danD

      My guess is you are missing the applicationId on the login API request.

      A refresh token is per user per application, so passing that is required to provide refresh tokens (even though it is optional for the call to succeed).

    • danD

      Solved Can I use a proxy with FusionAuth?

      proxy • • dan
      2
      0
      Votes
      2
      Posts
      1.9k
      Views

      danD

      There's no supported way. Here's the official docs:

      FusionAuth is able to handle all HTTP traffic and any network handling between the browser and FusionAuth should be as simple as possible.

      However, this solution was found by a community member (for the docker install). Configure the environment variable:

      FUSIONAUTH_ADDITIONAL_JAVA_ARGS: -Dhttp.proxyHost=some.proxy -Dhttp.proxyPort=8210 -Dhttp.nonProxyHosts="localhost|127.0.0.1|10.*.*.*|172.*.*.*"

      before you start FA and it should work.

    • danD

      Solved How can I use FusionAuth with OpenAPI/Swagger clients?

      swagger openapi client-library integration • • dan
      2
      0
      Votes
      2
      Posts
      8.6k
      Views

      danD

      Users using an sdk created by swagger can use OAuth.

      FusionAuth supports all of the grants listed there except "Client Credentials" (if that's an important grant to you, please vote on this GitHub issue).

      That said, you can log a user in using this API: https://fusionauth.io/docs/v1/tech/apis/login#authenticate-a-user

      As mentioned in that document, you can require a FusionAuth API key (information about creating this here: https://fusionauth.io/docs/v1/tech/apis/authentication#manage-api-keys ) which would not be a per user API key. Or you could disable authentication for the /apilogin endpoint:

      Authentication may be disabled per Application, see application.loginConfiguration.requireAuthentication in the Application API or navigate to Applications Edit Security in the user interface.
      and have users authenticate against that endpoint.

      If on the other hand you are asking about application type API keys that are managed by FusionAuth, the short answer is that is not a feature of FusionAuth. Please see this forum post for other options.

    • danD

      Solved Can you store off fusionauth config in a file?

      development kickstart environments • • dan
      2
      0
      Votes
      2
      Posts
      3.5k
      Views

      danD

      You could look at kickstart: https://fusionauth.io/docs/v1/tech/installation-guide/kickstart

      Kickstart only works if the other devs' fusionauth instances are going to be starting from scratch.

      Otherwise you might want to vote for https://github.com/FusionAuth/fusionauth-issues/issues/560

    • danD

      Solved Is there a way to determine which version of FusionAuth is running?

      version • • dan
      2
      0
      Votes
      2
      Posts
      890
      Views

      danD

      From the admin UI, go to System / About and you'll see the current version.

      It is also available via the API by calling /api/status and looking for the version key in the returned object. However, the status response is subject to change.

    • S

      Solved No Refresh Tokens from grant_type = authorizazion_code; python

      python refresh token • • sven.richter86
      3
      1
      Votes
      3
      Posts
      9.8k
      Views

      S

      Great thanks, that solved it.