Navigation

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

    Determining which OAuth grant you are in within the themes

    Q&A
    theme oauth grant
    0
    2
    66
    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.
    • dan
      dan last edited by

      I want to know which OAuth grant is happening in the login page.

      Can I do so? There doesn't appear to be a straightforward way to do so.

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

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

        The only two grants that are relevant to an interactive flow are the authorization grant, and the implicit grant.

        I don’t recommend you use the implicit grant at all, so that leaves only the authorization grant.

        If the authorization grant is happening, response_type will be code.

        If the authorization grant is occurring due to a device grant, the user_code variable will be set.

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

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