FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Shares 0
    • Posts 7
    • Groups 0
    U Offline
    1. Home
    2. ulysse
    3. Topics

    Topics

    • U

      Complete idp login doesn't return refreshToken

      Watching Ignoring Scheduled Pinned Locked Moved Q&A
      7
      1
      0 Votes
      7 Posts
      6k Views
      danD
      I'm starting to think I may misunderstand what this complete login endpoint objective is. I think I'm the one who is misunderstanding things Yes, you should be able to build your own login pages to auth directly with google, and yes, you should get the refresh_token returned. I didn't follow what you were attempting to do, I thought you were using the google form provided by FusionAuth (which is what I tested and which returns a refresh_token if you provide the scope). This sure looks like a bug because the refresh_token should be returned according to the docs. At the very least it is a doc bug, because the noJWT parameter doesn't state that the refreshToken will be returned if noJWT = false: When this value is set to true a JWT will not be issued as part of this request. The response body will not contain the token field, and the access_token and refresh_token cookies will not be written to the HTTP response But the response body states a refreshToken will be returned: The refresh token that can be used to obtain a new access token once the provide one has expired. Because a refresh token is per user and per application, this value will only be returned when an applicationId was provided on the login request. Can you please file a bug? https://github.com/fusionauth/fusionauth-issues/issues
    • U

      reliable way to know if user just got created

      Watching Ignoring Scheduled Pinned Locked Moved Q&A
      3
      0 Votes
      3 Posts
      3k Views
      U
      Have you tried webhooks? Nope, webhooks completely slipped my mind, that's actually even better or my use case Thanks for the detailed answer!
    • U

      Social providers in Register web page

      Watching Ignoring Scheduled Pinned Locked Moved Q&A provider theme customization
      2
      0 Votes
      2 Posts
      5k Views
      danD
      Hiya, The issue is that the identityProviders map needs to be populated for that login script to work, and the class behind this page doesn't provide that map. So for now I don't see a way to do this. There is an open github issue to allow identity providers to be displayed on the registration page. I'd suggest adding your use case to that issue: https://github.com/FusionAuth/fusionauth-issues/issues/554 and I'm happy to rename it to something more general. Alternatively you can file a new issue if you feel the use case is distinct enough.