• Having an issue with nginx in front of FusionAuth

    Moved Unsolved
    3
    1 Votes
    3 Posts
    5k Views
    D
    Hi Guys, Your reply helped me as well. Thank you. I'm still struggling with the issue of rewriting /admin when using subpath. When I click login icon I'm redirected with 302 to $host/admin not $host/fa/admin This happened after I updated my FA. location /fa/ { proxy_http_version 1.1; proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Accept-Encoding ""; sub_filter 'action="/' 'action="/fa/'; sub_filter 'href="/' 'href="/fa/'; sub_filter 'href="/admin/' 'href="/fa/admin/'; sub_filter 'src="/images' 'src="/fa/images'; sub_filter 'src="/js' 'src="/fa/js'; sub_filter_once off; proxy_pass http://localhost:9011/; } location ~^/(?<fusionPath>(oauth2|admin|ajax|login|password|js/identityProvider))/ { proxy_pass http://127.0.0.1:9011/$fusionPath/; # https://fusionauth.io/docs/v1/tech/admin-guide/proxy-setup#how-to-use-a-proxy proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Accept-Encoding ""; sub_filter 'action="/' 'action="/fa/'; sub_filter 'href="/' 'href="/fa/'; sub_filter 'src="/images' 'src="/fa/images'; sub_filter 'src="/admin' 'src="/fa/admin'; sub_filter 'src="/js' 'src="/fa/js'; sub_filter_once off; }
  • Blocking domains from registration

    Moved Solved
    2
    0 Votes
    2 Posts
    1k Views
    danD
    the built-in domain blocking is documented here: https://fusionauth.io/docs/v1/tech/advanced-threat-detection/#registration-domain-blocking However: It only blocks specific domains so you can't block 'all domains except ' It requires an enterprise license As an alternative, consider a registration transactional webhook which could examine the domain provided by a user and fail if it didn't match a list of your domains: https://fusionauth.io/docs/v1/tech/events-webhooks/events/user-registration-create
  • Fusionauth integrattion with kubeoidc proxy

    Moved Unsolved kubernetes fusionauth oidc
    4
    0 Votes
    4 Posts
    5k Views
    A
    Proxy servers can store cached copies of sites. You will get the data from the proxy when you access a particular location.
  • Migrating from mysql to postgresql

    Moved mysql postgresql migration
    5
    0 Votes
    5 Posts
    15k Views
    danD
    @sander Thanks for the update. We're bummed that we can't include the mysql connector as part of the docker image. If FusionAuth is stuck in maintenance mode, this thread might prove useful: https://fusionauth.io/community/forum/topic/135/can-t-get-by-maintenance-mode Can you give me any more details about the issue?
  • Problem between oauth2/authorize code and oauth2/token in android

    Moved Unsolved
    2
    0 Votes
    2 Posts
    5k Views
    joshuaJ
    Hi @cgonzalez Can you confirm how quickly you are completing the exchange for a token using the code? "auth_code_not_found" The code may not be available if: It has expired or It as already been used to obtain a token. Thanks, Josh
  • custom validation-theme Forgot Password

    Moved Unsolved
    2
    2
    1 Votes
    2 Posts
    3k Views
    joshuaJ
    @leandro-menagonzalez This can be solved by using client-side validation in your theme for the corresponding forgot password page. On the authorize page you would pull in JS to check the users email in any manner you see fit. https://fusionauth.io/docs/v1/tech/apis/themes https://fusionauth.io/docs/v1/tech/themes/ Josh
  • This topic is deleted!

    Moved Unsolved
    2
    0 Votes
    2 Posts
    8 Views
  • Password change deletes sessions?

    Moved Solved
    4
    0 Votes
    4 Posts
    5k Views
    danD
    @trevorr said in Password change deletes sessions?: If possible in the future, it would be great to be able to control that per-password change. It's the right behavior for changing a potentially compromised password, but not for setting an initial password. Of course, my app could also revoke the refresh tokens explicitly. Makes sense. Please feel free to open an GitHub issue outlining your use case: https://github.com/fusionauth/fusionauth-issues/issues
  • Email template per tenant

    Moved Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    danD
    @dhait Yes. You can create as many email templates as you want, typically using the admin UI or the email API: https://fusionauth.io/docs/v1/tech/apis/emails Then, you assign them to tenants, using the Tenant admin UI or tenant API: https://fusionauth.io/docs/v1/tech/apis/tenants You are probably going to be interested in the emailConfiguration object which has all the tenant email template Ids.
  • This topic is deleted!

    Moved Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • This topic is deleted!

    Moved Unsolved
    1
    0 Votes
    1 Posts
    9 Views
    No one has replied
  • This topic is deleted!

    Moved Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Having trouble using Gmail SMTP for email sending

    Moved Solved
    3
    0 Votes
    3 Posts
    2k Views
    P
    @dan said in Having trouble using Gmail SMTP for email sending: Found a way to solve it. You really need to use 16-char app passwords with Google SMTP, as it is suggested here https://support.google.com/accounts/answer/185833/tunnel rush It works fine then.
  • FA controls on traffic

    Moved Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    danD
    @srikanth-bussa Great. If you need to customize the JWT, I'd suggest looking at the populate lambda and lambda HTTP connect as well.
  • How to make a saml request with php / fusionauth?

    Moved Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    danD
    Hiya, Yes, you complete a login after the user has logged in at the SAML provider. That's implied, but maybe we should make it a bit clearer. From https://fusionauth.io/docs/v1/tech/apis/identity-providers/samlv2#complete-a-saml-v2-login This API allows you to complete a SAML v2 login after the user has authenticated with a SAML v2 identity provider. If you are using the FusionAuth login UI with the SAML v2 button you will not utilize this API directly. The idea is: you call start SAML login (the FusionAuth API) you direct the user to the IDP you get the SAML response you pass the SAML response to the complete API call (again, FusionAuth API) Why not just integrate SAML directly into your application? It's an instance of the identity broker pattern, and having FusionAuth in the middle can allow for a standard interface across SAML and other remote IdP providers. How you handle steps 2 and 3 is not documented for two reasons. It might vary widely, depending on the SAML IdP and your configuration. It is expected that as someone who is using the start/complete API and not the FusionAuth hosted login pages, you are familiar enough with SAML to take care of them. Hope this helps!
  • Appropriate refresh token setting for rolling window?

    Moved Unsolved
    5
    1 Votes
    5 Posts
    4k Views
    T
    @dan Thanks, this is the use-case I was expecting.
  • Using ngrok and I get an error message when viewing the admin screen

    Moved Unsolved
    2
    1
    0 Votes
    2 Posts
    2k Views
    danD
    The easiest way is to add the required header to the ngrok connection. Here's how you can do it: ./ngrok http --request-header-add 'X-Forwarded-Port:443' 9011 That should fix the issue.
  • Searching user with multiple application

    Moved Unsolved
    7
    0 Votes
    7 Posts
    5k Views
    P
    @joshua okay thank you for reply.
  • UpdatinG User with JSON-PATCH method

    Moved Solved
    5
    0 Votes
    5 Posts
    4k Views
    A
    @duke said in UpdatinG User with JSON-PATCH method: @dan It was abit confusing because looking at the original body of the group, there was no parameter/ field called roleIds but it was used in the request. To update the User we used this. // To remove language let body = vec![Testing { op: "remove".to_string(), path: "/user/preferredLanguages/0".to_string() }]; thanks my issue has been fixed.
  • 0 Votes
    2 Posts
    987 Views
    danD
    @ken Did you get this resolved?