FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. nishant
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 15
    • Best 4
    • Controversial 0
    • Groups 0

    nishant

    @nishant

    4
    Reputation
    6
    Profile views
    15
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    nishant Unfollow Follow

    Best posts made by nishant

    • RE: Error setting up FusionAuth free version

      Hi Dan,

      Thanks for the quick response! Yes I'll look into upgrading MySQL.

      Cheers,
      -N

      posted in Q&A
      N
      nishant
    • RE: Error setting up FusionAuth free version

      Thanks! 🙂 🙌

      posted in Q&A
      N
      nishant
    • RE: Trouble getting the user object post login

      Thanks Dan! It all works now.

      posted in Q&A
      N
      nishant
    • RE: Specifying password during user registration.

      Thanks @dan I think we're going to go with the FusionAuth hosted pages for now.

      posted in Q&A
      N
      nishant

    Latest posts made by nishant

    • RE: Session token remains active after logout

      Heya @dan, do you have any advice on this issue?

      posted in Q&A
      N
      nishant
    • Session token remains active after logout

      Hi,

      I'm implementing authentication using FusionAuth. I've defined an oauth_callback route which gets called on a successful login. In this route, I call the /oauth2/token endpoint from FusionAuth API passing the necessary arguments and I'm able to retrieve an access_token.

      I have another route, validate_token, that calls the oauth2/introspect endpoint from the FusionAuth API and I'm able to check the validity of the above token by looking at the active field in response. The problem is active is returned as true even after I logout. Am I missing something or doing something wrong?

      Appreciate the help!

      Cheers,
      -- N.

      posted in Q&A
      N
      nishant
    • RE: Specifying password during user registration.

      Thanks @dan I think we're going to go with the FusionAuth hosted pages for now.

      posted in Q&A
      N
      nishant
    • Specifying password during user registration.

      I'm following this tutorial to register a new user via FusionAuth API. Going through this documentation for the endpoint, I found that it expects password for the new user to be sent as plain text. But this would be insecure, assuming the flow looks like My Frontend --> My Backend --> FusionAuth API --> My Backend --> My Frontend. Is there a better way of communicating the password to FusionAuth. Thanks!

      posted in Q&A
      N
      nishant
    • RE: Trouble getting the user object post login

      Thanks Dan! It all works now.

      posted in Q&A
      N
      nishant
    • RE: Trouble getting the user object post login

      @dan Hi Dan, just circling back. Did you have a chance to look into this? Thanks!

      posted in Q&A
      N
      nishant
    • RE: Trouble getting the user object post login

      @dan No worries! Thanks for all your help! You can download the application zip file from here. As you'll notice, its a pretty simple app. Also I've replaced all the ip addresses and ids for security reasons so while the app won't run as is, you would still be able to get an idea of the functionality. Thanks again for your continued support! Hoping to resolve this soon!

      posted in Q&A
      N
      nishant
    • RE: Trouble getting the user object post login

      @dan Thanks for the response. I did double check my application code and there was a client id mismatch in one of the URIs in my application code. I fixed that. However I'm still getting 401. Below is the flask server output:

      <Response [401]>
      error
      <Response [401]>
      74.15.29.84 - - [25/Aug/2020 22:43:04] "GET /oauth-callback?code=9E2MtFiIkFTS1uRBDjNXIOwLDuefGNLMqreSo1gZL2A&locale=en_US&userState=Authenticated HTTP/1.1" 200 -```
      

      As you can see the state has changed to Authenticated now.

      posted in Q&A
      N
      nishant
    • RE: Trouble getting the user object post login

      @dan That is correct. Below is the output on flask server:

      <Response [401]>
      error
      <Response [401]>
      74.15.29.84 - - [24/Aug/2020 15:46:33] "GET /oauth-callback?code=q0AEmFiDNOjWiGlBa64Ea7MI2BlwotSh7AAcqqjWSt4&locale=en_US&userState=AuthenticatedNotRegistered HTTP/1.1" 200 -
      
      posted in Q&A
      N
      nishant
    • RE: Trouble getting the user object post login

      @dan Thanks for the response. I changed the call to exchange_o_auth_code_for_access_token swapping client_secret and redirect_uri args. I made sure that the user is registered with the application to which they are trying to authorize and that the redirect_uri is setup correctly in application config. I'm attaching screen shots from the FusionAuth app. I'm still getting a 401 response.

      l would also would like to mention as an aside that the user is able to login successfully to this app. I get 401 for the auth code request post successful login.

      Redirect URI setup:
      RedirecURI.jpg

      User Registration:
      UserReg.png

      posted in Q&A
      N
      nishant