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

    Posts made by seednextsrl

    • Error 404 when trying to login using access token

      Hello everyone,

      I'm new to fusionAuth and I've just implemented a standard login into my PHP app using username and password.

      I receive a correct success response with a token on top, which I store in the user's session, but if I try to call the login api using the token instead of the password, as explained here, I get a 404 error response:

      FusionAuth\ClientResponse Object
      (
          [errorResponse] => 
          [exception] => 
          [method] => POST
          [request] => Array
              (
                  [applicationId] => app_id
                  [loginId] => username
                  [password] => very_long_access_token
                  [ipAddress] => 93.147.229.20
              )
      
          [successResponse] => 
          [status] => 404
      )
      

      Any idea on a possible cause for this error?

      Thank you!

      posted in Q&A token php login-api
      S
      seednextsrl