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

    How can i get the userinfo after authentication redirect

    Scheduled Pinned Locked Moved
    Q&A
    2
    2
    627
    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.
    • M
      mak
      last edited by

      Hi

      Once the user has been authenticated, I am trying to find out, what will be the API and what parameters it will need, below is the redirect URL recieved

      https://m300.test.com/?code=HM1Mn2WTKZkafXr7c3Y_5RyOxoOJkBSvSbCLimHwPm0&locale=en_US&userState=Authenticated

      thank you

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

        Hiya,

        I'd suggest reading/working through this blog post: https://fusionauth.io/blog/2020/03/10/securely-implement-oauth-in-react

        You have to do a couple of things (provide the right scope, pass the correct JWT back to the correct endpoint), and it might be fastest for you to read through that and post any questions you have. (If you aren't comfortable in javascript, please let me know which language you are comfortable in and I'll see if I can dig up an example.)

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

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