FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. marco
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 15
    • Best 3
    • Controversial 0
    • Groups 0

    marco

    @marco

    3
    Reputation
    9
    Profile views
    15
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    marco Unfollow Follow

    Best posts made by marco

    • RE: Social login with Flutter App

      Hey Dan.

      I just wanted to thank you for the support.

      We are now using FusionAuth login pages directly (as you suggested), and it works perfectly!

      For reference, we used this flutter package: https://pub.dev/packages/flutter_appauth/example

      Thank you again!

      posted in Q&A
      M
      marco
    • RE: JWT token with roles

      @dan said in JWT token with roles:

      "applicationId": "ffbbef97-a2c0-49eb-990d-bd6e96acf2f9",
      "roles": [
      "USER"
      ]

      Hey Dan!

      Now we got it working.

      For reference, we were not passing applicationId inside the request body, that's why the roles were not included in the token.

      Thanks again for the time Dan!

      posted in Q&A
      M
      marco
    • [ERROR] FusionAuth's login page redirecting issue on Android

      Hey guys.

      We are using FusionAuth's login page for our mobile application.

      As our users are using the app, we found out that there is a redirecting issue when we log in using Google Provider on Android phones.

      After the user is logged in (we think it is), the page keeps loading and waiting for a page redirection;

      So we close the app and try to log in again, and the user is automatically redirected (because it is already logged in).

      Can you guys help us out?

      Video link: https://www.icloud.com/iclouddrive/0rJB--7z6KA_NI6iC1CgVsbBw#google_login_error

      Other info:
      FusionAuth's Version: 1.19.8

      posted in Q&A
      M
      marco

    Latest posts made by marco

    • RE: Error in global registration counts
      ON CONFLICT (hour) DO UPDATE SET count = global_registration_counts.count + EXCLUDED.count, decremented_count = global_registration_counts.decremented_count + EXCLUDED.decremented_count
      
      
      [24266]:ERROR:  ON CONFLICT DO UPDATE command cannot affect row a second time
      
      [24266]:HINT:  Ensure that no rows proposed for insertion within the same command have duplicate constrained values.
      
      [24266]:STATEMENT:  INSERT INTO global_registration_counts (count, decremented_count, hour) VALUES
      
      posted in General Discussion
      M
      marco
    • RE: Error in global registration counts

      Hey Dan!

      Thanks again for the time to respond.
      We are running the latest version of FusionAuth: 1.30.2 and Postgres version 11.12.

      Currently we are not on a support plan, as our app is quite simple yet.
      But I appreciate if you have any direction for us to check.

      Thanks!

      posted in General Discussion
      M
      marco
    • RE: Error in global registration counts

      More details on error:

      PM ERROR com.inversoft.scheduler.LogAndRetainFailureHandler - The scheduled service [class io.fusionauth.api.service.authentication.RegistrationCounterAggregator] failed but will be re-run.
      
      ### Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: ON CONFLICT DO UPDATE command cannot affect row a second time
      
      ### The error may exist in io/fusionauth/api/domain/RegistrationCountMapper.xml
      
      ### The error may involve defaultParameterMap
      
      ### The error occurred while setting parameters
      
      ### SQL: INSERT INTO global_registration_counts (count, decremented_count, hour) VALUES (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) , (?, ?, ?) ON CONFLICT (hour) DO UPDATE SET count = global_registration_counts.count + EXCLUDED.count, decremented_count = global_registration_counts.decremented_count + EXCLUDED.decremented_count
      
      ### Cause: org.postgresql.util.PSQLException: ERROR: ON CONFLICT DO UPDATE command cannot affect row a second time
      
      
      posted in General Discussion
      M
      marco
    • Error in global registration counts

      Hello guys.

      We are having some issues with FusionAuth's logs and counts.
      Logged error is:

      ON CONFLICT (hour) DO UPDATE SET count = global_registration_counts.count + EXCLUDED.count, decremented_count = global_registration_counts.decremented_count + EXCLUDED.decremented_count
      
      [4576]:ERROR:  ON CONFLICT DO UPDATE command cannot affect row a second time
      
      [4576]:HINT:  Ensure that no rows proposed for insertion within the same command have duplicate constrained values.
      
      

      Can you help us fix it?

      posted in General Discussion
      M
      marco
    • RE: [ERROR] FusionAuth's login page redirecting issue on Android

      Hey mgetka.

      Sorry for the delay. Yes, we are using pseudo URLs.
      Is there anything we can try?

      Thanks!

      posted in Q&A
      M
      marco
    • [ERROR] FusionAuth's login page redirecting issue on Android

      Hey guys.

      We are using FusionAuth's login page for our mobile application.

      As our users are using the app, we found out that there is a redirecting issue when we log in using Google Provider on Android phones.

      After the user is logged in (we think it is), the page keeps loading and waiting for a page redirection;

      So we close the app and try to log in again, and the user is automatically redirected (because it is already logged in).

      Can you guys help us out?

      Video link: https://www.icloud.com/iclouddrive/0rJB--7z6KA_NI6iC1CgVsbBw#google_login_error

      Other info:
      FusionAuth's Version: 1.19.8

      posted in Q&A
      M
      marco
    • Webhook on user creation using social logins

      Hey guys.

      We are trying to send a welcome email when the user first registers to our application.
      But when users login using social providers (ex: facebook), we cannot see "user.create.registration" webhook fire.

      Is there a better way of doing this??

      posted in Q&A
      M
      marco
    • RE: JWT token with roles

      @dan said in JWT token with roles:

      "applicationId": "ffbbef97-a2c0-49eb-990d-bd6e96acf2f9",
      "roles": [
      "USER"
      ]

      Hey Dan!

      Now we got it working.

      For reference, we were not passing applicationId inside the request body, that's why the roles were not included in the token.

      Thanks again for the time Dan!

      posted in Q&A
      M
      marco
    • RE: JWT token with roles

      Hey Dan!

      So let me answer one by one:

      1. I am logging the user using Facebook, Google and Apple with FusionAuth's UI;
      2. The version we are using is 1.19.8;
      posted in Q&A
      M
      marco
    • RE: JWT token with roles

      @dan

      Yes! The user is registered and verified.

      user.png

      posted in Q&A
      M
      marco