FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. adil
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 7
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by adil

    • RE: Using reconsile api to get access token

      @dan ,same think is happening with apple idp as well, this is what i am getting for apple idp.

      {
          "fieldErrors": {
              "data.code": [
                  {
                      "code": "[missing]data.code",
                      "message": "Required"
                  }
              ],
              "data.id_token": [
                  {
                      "code": "[missing]data.id_token",
                      "message": "Required"
                  }
              ],
              "data.redirect_uri": [
                  {
                      "code": "[missing]data.redirect_uri",
                      "message": "Required"
                  }
              ]
          }
      }
      

      It looks like its asking for required fields which are required for following api
      https://fusionauth.io/docs/v1/tech/apis/identity-providers/apple/#complete-the-apple-login, and i think same thing is happening for linkedin as well, but this one and reconcile api are two different api's.

      posted in Q&A
      A
      adil
    • RE: Using reconsile api to get access token

      @dan ,than you for your reply , here is the request for google

      curl --location --request POST 'https://example.com/api/jwt/reconcile' \
      --header 'Authorization: API_KEY' \
      --header 'Content-Type: application/json' \
      --header 'Cookie: fusionauth.locale=en' \
      --data-raw '{
        "applicationId": "3453f0a4-8a15-4181-a0d6-88d2ab14566",
        "data": {
          "token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Im9aMG..."
        },
        "identityProviderId": "32339786-3dff-42a6-aac6-1f1fffffffff"
      }'
      

      where token is the id_token we receive from google.

      posted in Q&A
      A
      adil
    • Using reconsile api to get access token

      Hi,
      i am using /api/jwt/reconcile api to get access token, it is working fine with google idp, but when i try to use it with linkedin i am getting following error:

      {
          "fieldErrors": {
              "data.code": [
                  {
                      "code": "[missing]data.code",
                      "message": "Required"
                  }
              ],
              "data.redirect_uri": [
                  {
                      "code": "[missing]data.redirect_uri",
                      "message": "Required"
                  }
              ]
          }
      }
      

      and here is my request body:

      {
        "applicationId": "1406e0a4-8a15-4181-a0d6-56d8ab14f144",
        "data": {
          "token": "AQXC8dwBpr5MgJ6QFLvoGgv_..."
        },
        "identityProviderId": "6177c09d-3f0e-4d53-966564-3600b1b23f46"
      }
      

      As per the documentation of api i only have to pass token, not sure why its asking for code and redirect_uri, code as already been exchanged to get access token

      Any help would be appreciated.

      posted in Q&A
      A
      adil
    • RE: Send additional params to identity providers link

      @joshua , thanks for your reply, what we are looking for is, we want to save invite token after someone register through any of the identity provider we have enabled, so for that we have to send query params when someone click on any of identity provider, we are sending that invite token through query param into fusionauth registration form but after that we have to pass it to identity providers so when it redirects back we can save that token in user.data.* object.
      Thanks

      posted in Q&A
      A
      adil
    • Send additional params to identity providers link

      Hi,

      Can we send additional query params to identity providers link while registration from registration form?

      Best Regards

      posted in Q&A
      A
      adil
    • RE: Webhook not working on user delete

      Hi @joshua ,

      Thank you for your reply, so this the webhook
      e5d353b2-7fc3-4fdc-b00b-6b5a3f37366d-image.png
      662317e0-1ce4-468a-85cc-2a41bfd458a4-image.png

      and its enabled on tenant section
      cbe04679-aa0a-4036-88cf-c32860bb428c-image.png

      But when i delete a user from fusionauth its not working.

      posted in Q&A
      A
      adil
    • Webhook not working on user delete

      Hi,

      I created a webhook on user delete, when i try this using test button on webhook page it works, but when i delete a user from fusionAuth UI it doesn't trigger,

      Any help will be appreciated.

      Thanks

      posted in Q&A
      A
      adil