• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
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.
  • D
    dan
    last edited by 14 May 2020, 16:49

    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
    • D
      dan
      last edited by 14 May 2020, 16:50

      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
      2 out of 2
      • First post
        2/2
        Last post