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

Salesforce error: Id_Token_Error: Missing or invalid iss

Scheduled Pinned Locked Moved
General Discussion
2
5
2.3k
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.
  • Y
    yuval
    last edited by 18 Jul 2023, 20:07

    Hi, we are tying to set up a salesforce SB to work with a dev site using fusion. when using test url we are getting the following error:

    We can’t log you in because of the following error.
    Id_Token_Error: Missing or invalid iss

    we are passing the our dev site as the token as described here: https://fusionauth.io/docs/v1/tech/oauth/integrations/salesforce

    Any idea on what can be the reason for this error?

    1 Reply Last reply Reply Quote 2
    • Y
      yuval
      last edited by 20 Jul 2023, 15:17

      Anyone from FusionAuth can give us a hint? we are passing the site url as token issuer, is this right?

      M 1 Reply Last reply 25 Jul 2023, 14:13 Reply Quote 0
      • M
        mark.robustelli @yuval
        last edited by 25 Jul 2023, 14:13

        Hello @yuval,
        I'm not very familiar with Salesforce but when taking a look at the guide there is a step that says "Scroll down to the Salesforce Configuration section and open the address from Test-Only Initialization URL in an incognito window.". What do you see when you try that?

        If you are not getting that information, can you please describe in a little more detail what steps you have taken and when you receive the above message about the invalid iss?

        1 Reply Last reply Reply Quote 1
        • Y
          yuval
          last edited by 23 Aug 2023, 09:04

          The problem was a wrong token issuer defined in SF auth. provider configuration. Our The SF Auth. Provider token issuer field need to have the same VALUE as defined in FusionAuth (for example acme.com) and not the url of the instance as described in the help document. (https://your.fusionauth.application.url)

          M 1 Reply Last reply 23 Aug 2023, 14:30 Reply Quote 0
          • M
            mark.robustelli @yuval
            last edited by 23 Aug 2023, 14:30

            @yuval Thanks for following up and sharing with the community.

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