Skip to main content

Id_Token_Error: Missing or invalid iss

Hi, I want to use a Salesforce org as an IDP for logging into an experience builder site in another org. I have created a connected app in the idp org and auth provider in the experience buider org. I have used Authorize end point, Token endpoint, user info end point and Issuer with my domain urls like below.

Auth. provider -

....sandbox.my.salesforce.com/services/oauth2/authorize

.....sandbox.my.salesforce.com/services/oauth2/token

....sandbox.my.salesforce.com/services/oauth2/userinfo

.....sandbox.my.salesforce.com/

Auth. provider type is ''Open ID Connect"

 

Consumer key and secret are updated from connected app in IDP org.

Select OAuth scopes

"Access the identity URL service (id, profile, email, address, phone)

Manage user data via APIs (api)

Manage user data via Web browsers (web)

Full access (full)

Perform requests at any time (refresh_token, offline_access)

Access unique user identifiers (openid)"

 

Connected app

Callback URL in connected app is same as callback url from Auth provider.

Id token audiences and Start url in Connected are both the experience builder site url

 

Test only Initialization url is giving below error

Id_Token_Error: Missing or invalid iss

 

Please help.

1 件のコメント
0/9000