Salesforce Provider: OAuth vs OIDC #8091
Unanswered
kyleschiess
asked this question in
Help
Replies: 1 comment 1 reply
-
About this error---
I noticed this is what I'd get in the profile response:
I added this key to my
That cleared it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using SvelteKit here.
I was messing with the
SalesforceProvider
, trying to get the login flow to work. In my root+hooks.server.ts
file, I added this handler:Which got me this error:
To clear this, I opened
core/providers/salesforce.js
and changedtype
to "oidc".Then I got this error:
Adding the
issuer
key to mySalesforceProvider
in+hooks.server.ts
cleared that error. In case anyone is curious,issuer
should be something like this: "https://YOUR_SALESFORCE_ORG_DOMAIN.my.salesforce.com".My next error is:
But I haven't cleared it yet. Just wanted to get this info out there for anyone else who's struggling with the
SalesforceProvider
.I have to ask, though, why is the default
type
set to "oauth" if it ends up working on "oidc"?Beta Was this translation helpful? Give feedback.
All reactions