• Can FusionAuth be used instead of Active Directory?

    Moved Unsolved
    2
    0 Votes
    2 Posts
    962 Views
    danD
    Depends on the use case. If you need a user management tool with OAuth, SAML and all the bells and whistles, then “yes!” If you need LDAP connected to servers or wifi, then “no”.
  • 0 Votes
    2 Posts
    6k Views
    S
    @akash-0 Hi! FusionAuth does not currently have such an API. If you'd like to request this feature, you can file an issue in the fusionauth-issues GitHub repository that includes details for your use case. Developers can show their support/interest for a feature by giving it a thumbs up reaction. We use this to plan the FusionAuth product roadmap. Thanks, Spencer
  • Is there a FusionAuth laravel socialite provider?

    Moved Solved
    2
    0 Votes
    2 Posts
    1k Views
    danD
    Yes. Here's the PR merging it: https://github.com/SocialiteProviders/Providers/pull/877 Thanks to https://github.com/danilopolani for adding it. Should show up here: https://socialiteproviders.com/about/ once this has been merged: https://github.com/SocialiteProviders/website/pull/28
  • SAML2 is failing due to "rsa-sha1" and "secured validation"

    Moved Unsolved
    2
    0 Votes
    2 Posts
    8k Views
    danD
    @bryan-odaly The http://www.w3.org/2000/09/xmldsig#rsa-sha1 algorithm has been removed as of Java 17. More details: https://github.com/FusionAuth/fusionauth-site/issues/1202 https://fusionauth.io/docs/v1/tech/release-notes#version-1-32-0 This error means you are using an SAML v2 IdP that is signing their Authn response with RSA-SHA1. The best way to solve this is to change the signing configuration if you have access to that, or request the owner of that IdP sign their response using a more secure, modern algorithm.
  • Sign In With Apple request property clarifications (appleUser and redirect_uri)

    Moved Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    danD
    @chalk Did you get this sorted out or are you still looking for guidance?
  • API to search for users by username?

    Moved Unsolved
    2
    0 Votes
    2 Posts
    3k Views
    danD
    @theogravity-sb Hiya, You should be able to specify the property to search when using the queryString. username:test will exactly match users with that username username:tes* will match any users that have a username that starts with tes. Does that help?
  • 0 Votes
    6 Posts
    9k Views
    ?
    @johnathon Also, if you are using Graal, using let and const will not be supported until version 1.37.0. https://github.com/FusionAuth/fusionauth-issues/issues/179
  • conditionally disabling the submit button on the hosted login pages

    Moved Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    danD
    This is a job for javascript and customizing the theme. For the registration page, modify the oauth register template. Edit that theme, then find where we create the form, marked by this comment in the default theme. [#-- Begin Self Service Custom Registration Form Steps --] From there, find the 'register' button. [@helpers.button icon="key" text=theme.message('register')/] Change it to disabled by default: [@helpers.button icon="key" text=theme.message('register') disabled=true/] Then you need to build the JS which adds/removes the disabled attribute and the disabled CSS class based on the fields that are required. Luckily, we have those fields as a template variable, fields and can iterate that in freemarker. Here is some javascript. It needs to be below the register button as it references elements in the form above. It builds a list of required fields and then adds a listener to each required field checking to see if any of the fields are empty. I'm no JS expert, so feel free to modify as needed. <script type="text/javascript"> let reqFields = []; // build a list of required fields in JS from the freemarker template variable. [#list fields as field] [#assign fieldId = field.key?replace(".", "_") /] [#if field.required] reqFields.push("${fieldId!''}"); [/#if] [/#list] [#list fields as field] [#assign fieldId = field.key?replace(".", "_") /] [#if field.required] ( () => { // we're doing this in an anonymous function so we don't get variable collisions. we could have 0 to N required fields. let inputElt = document.getElementById('${fieldId!''}'); let btn = document.querySelector("form.full button"); inputElt.addEventListener("input", function() { let disabled = false; const keys = reqFields.keys(); for (let x of keys) { let reqFieldEmpty = document.getElementById(reqFields[x]).value === ''; if (reqFieldEmpty == true) { // console.log("found: "+reqFields[x]+" to be empty"); disabled = true; break; // any one empty field will mean button is disabled. } } // we've determined if the button should be disabled, now apply it btn.disabled = disabled; if (!disabled) { btn.classList.remove("disabled"); } else { btn.classList.add("disabled"); } }); } )(); [/#if] [/#list] </script> Feel free to modify this logic as needed to fit your theme.
  • Can a single user have multiple "passwords"?

    Moved Solved
    2
    0 Votes
    2 Posts
    1k Views
    danD
    We have application passwords that are intended for this purpose. More here: https://fusionauth.io/docs/v1/tech/tutorials/application-authentication-tokens
  • Problems logging in user through C# API call

    Moved
    16
    0 Votes
    16 Posts
    19k Views
    B
    @xan said in Problems logging in user through C# API call: when I do "http://localhost:5000", currently it just gets a "localhost refused to connect."? Generally this happens when the service running on your localhost has some problem resolving the request. If you have access to logs, please see logs for more details on the error. Also, make sure the application interface, server, and services are running. There are many situations that might trigger “this site can't be reached” error in browsers. Sometimes the server is still running but the interface application is closed or the database is down. If your application interface and server is up but a dependent service is down then restart your computer/server and restart services. Make sure the app is bound to localhost. It may just be bound to an individual interface. netstat -na will give you the clues you need. Run a port scan on your computer and make sure the port is opened. The problem may happens for failing on DNS lookup . DNS is that network address that translates the website name to its internet address. Most often it causes for not getting the internet connection or misconfigured internet or network settings. Another reason could be the firewall preventing Google Chrome to load the webpage. However, other reasons, such as insufficient permissions or the Apache web server not running properly might also cause the error.
  • Authenticate user with super admin

    Moved Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    Y
    Hi babar, As you said your third-party authenticator deliver access tokens, I guess it is an oauth2/openid provider. You may use it to authenticate to FA: https://fusionauth.io/docs/v1/tech/identity-providers/
  • Gate Users can get JWT token

    Moved Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    ?
    Hi @andrey-dzhezhora, From our conversation outside the forum: You are attempting to enforce email verification, i.e. gate users for OAuth password workflow. Your users were able to get a JWT despite not verifying their email address You are using your own hosted oauth/authorize page You have a paid version of Fusion Auth with version > 1.27.0 - which is required to use gate user accounts. Problem: You attempted to log a user in for OAuth2 using a password grant type and expected the user to be gated. If you are providing your own login page, you would need to inspect the JWT returned by FusionAuth in-order to determine if a user has been email verified. Solution: The easier option would be to use our hosted login pages and the authorization code grant. Once verified, FusionAuth will release an access token after a user successfully logs in. If the user hasn't been email verified, FusionAuth will not return a JWT and will 'gate' the user - which redirects to a page where a user will enter a verification code sent to their registered email address. Disclaimer: If you use the password grant, you would be building your own login page. Therefore, you would have to build the functionality in your integration code to check whether a user has been verified.
  • Avoid 'sso' and 'remember-device' cookies persistence after closing browser

    Moved Unsolved
    4
    1 Votes
    4 Posts
    4k Views
    danD
    @ctorres Ah. There's no way to convert cookies. I mean, I guess you could proxy all FusionAuth access through an NGINX instance or something like that, in which case you'd control the cookies, but there's no setting in FusionAuth to modify the cookies. Feel free to open a feature request referencing this forum post if you feel like it'd be a good feature. For the present, you might be able to make a GET request against the logout endpoint in the window.close event listener. A bit of googling turned this up: https://stackoverflow.com/questions/6162188/javascript-browsers-window-close-send-an-ajax-request-or-run-a-script-on-win Let me know if you experiment and find a way to do this; I'd be interested to learn what works.
  • user.action start event is not fired

    Moved Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    ?
    @dev-2 Resolved in version 1.36.7 via https://github.com/FusionAuth/fusionauth-issues/issues/1654. https://fusionauth.io/docs/v1/tech/release-notes#version-1-36-7
  • What is the base CSS used by the default theme?

    Moved Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    danD
    @dhait You should copy the default theme (which is immutable) and then modify the CSS file. https://fusionauth.io/docs/v1/tech/themes/#templates has some documentation: Stylesheet (CSS) Optional This CSS stylesheet may be used to style the themed pages. This CSS will be included in the head tag in the Helpers head macro. You may also choose to include other remote stylesheets by using the <style> tag within the head macro.
  • Issuing Signature failed tokens

    Moved Unsolved jwt signatures elliptical
    7
    1 Votes
    7 Posts
    8k Views
    A
    Created the github issue - https://github.com/FusionAuth/fusionauth-issues/issues/1795
  • Is the Dart client still working?

    Moved Solved
    2
    1 Votes
    2 Posts
    954 Views
    L
    Update: Never mind apparently, cleaning the project seems to have did the trick and I am able to use the client without issues. I will post back if I encounter other issues. Thank you!
  • Invalid JSON error when trying to retrieve users using user API

    Moved Solved erro json user-api
    3
    1 Votes
    3 Posts
    7k Views
    M
    @dan Oops! thank you so much Dan, it worked as a charm. I was fooled into leaving this header in because I tried the exact same request setup using one of these free api endpoints instead of fusionauth api and it worked with the content-type included. Thanks again
  • Issue with POST to /oauth2/token from container inside K8s

    Moved Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    danD
    @vince Hmmm. That sounds like a network connectivity issue. Googling for Client network socket disconnected before secure TLS connection was established shows that a lot of folks have proxy issues. Can you run curl on the same host and see if you can get to FusionAuth successfully?
  • FusionAuth with Nextcloud

    Moved Solved
    5
    1 Votes
    5 Posts
    3k Views
    danD
    @jbtruffault Glad you figured it out, and thanks for sharing that link!