FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    I am using the login API but I'm not getting a refresh token. Why?

    Scheduled Pinned Locked Moved Solved
    Q&A
    login login-api refresh token
    1
    2
    5.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • danD
      dan
      last edited by

      I'm not seeing a refresh token even if the generate refresh token setting is enabled in the application in the admin screen.

      I'd like FA to return a refresh token once user logs in.

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        My guess is you are missing the applicationId on the login API request.

        A refresh token is per user per application, so passing that is required to provide refresh tokens (even though it is optional for the call to succeed).

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post