Questions tagged [open-id-connect]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

External Data Source Named Principal - Will an OAuth 2.0 Auth Provider eventually require another login?

I am setting up an External Data Source to OData, using a Named Credential that is set up as "Microsoft Access Control Service" to call Azure Active Directory. The External Data Source is ...
0
votes
0answers
12 views

JIT Provisioning using Open ID

I configured a SSO connection where Salesforce is the Service provider and an external system is the Identity Provider (Using Open ID Connect) I am trying to now implement Just-in-Time provisioning ...
0
votes
0answers
28 views

How to retrieve a current user's OpenID Connect ID token via apex?

Question: Is there any method for retrieving the current user's OpenId Connect (OIDC) Id Token via apex? Background Context / Goal: My goal is to set up Single logout for a salesforce community that ...
1
vote
0answers
49 views

Single Logout (SLO) for Salesforce Community using OIDC and Okta

Background Context & Goal: Our end goal is to allow users to log in and log out of a salesforce community using okta credentials (via an openid auth. provider). When customers logout of the ...
0
votes
2answers
26 views

Using MultiStaticResourceCalloutMock [duplicate]

I am working on a class that makes a callout to a third party API. The third party API needs to be authenticated with a OpenID Connect Auth token. So, in my class, I am making a callout to the OpenID ...
0
votes
0answers
33 views

How to access JWT in registration handler using Auth provider (open id)

In our org we have an open Id auth provider setup that works fine along with the registration handler. The only issue is we are receiving only the email currently from the provider in the auth....
3
votes
1answer
174 views

Salesforce as an OpenID Connect provider with Azure B2C as a Relying Party [closed]

I am working on a prototype to do federated authentication through Azure AD (AAD) B2C. I have successfully linked my prototype to a separate Azure AD tenant using OpenID Connect and have it working. ...
0
votes
1answer
79 views

Salesforce Marketing Cloud SSO setting with OpenID Connect

I'm trying to set up Marketing cloud Single-sign-on. I'm not allowed to use SAML. I'll need to config the SSO via Open Id Connect. Is there anyone can give me some idea how to do it?
1
vote
1answer
234 views

Post-logout redirect in OpenID Connect

When I log into my application with Salesforce as OpenID Connect Provider (OP), I am able to do so. But, when I try and log out of my application, I am logged out of Salesforce and then redirected to ...
0
votes
1answer
31 views

AuthToken using Open Id Connect

We use a third party provider for SSO using OpenId Connect. We use the accessToken for the logged in user when making API calls for user session validation. When we do an Auth.AuthToken.getAccessToken(...
0
votes
0answers
42 views

SSO into Community via OpenID Connect

I am trying to login to Community via OpenID Connect Below are the steps, I've tried so far. Created Auth. Provider Created Connected App Configured Community to show Auth Provider as login method. ...
3
votes
0answers
120 views

Including SSO in a managed package

We have a Salesforce Managed Package, and we'd like to use it to provide access to a non-Salesforce service (in this case Tableau). The ISVForce Guide indicates that you can package SAML SSO config in ...
0
votes
0answers
34 views

ID Token from OpenId Connect

We are using OpenId Connect for SSO into a Community with an external Identity Provider. It is easy to get the Access Token returned via AuthToken.getAccessToken. Is there any way get the ID Token (...
1
vote
0answers
323 views

OpenID error: No_Oauth_Token unauthorized_client

I am following this doc to implement an external authentication provider. So far I was able to be redirected to their site, authenticate there and be sent back to SF. However, when I am sent back to ...
1
vote
1answer
94 views

OpenID connect is not returning EMail id, Address and Phone number from Salesforce

I am working on the Implementation of Salesforce as an identity provider using OpenId Connect authentication method. I am using Auth0 to test this. I have mentioned Scope in Auth0 - id openid profile ...
1
vote
0answers
41 views

Salesforce iOS Remote Hybrid SDK works incorrect with SSO

We're using Salesforce iOS Remote Hybrid SDK in our app, version 7.1.2, that is shared for different clients, and it works ok with simple oAuth2 flow. However, started from Spring 2020 release, it's ...
0
votes
1answer
1k views

OpenID Connect - ID Token vs Access Token

I have setup a connected app with the "openid" scope. Using the web server flow, my callback is able to get the Open-ID JWT from "id_token", generated by Salesforce. My API has no problem validating ...
0
votes
1answer
667 views

How to force logout an user session from Partner Community

I have a partner community where we have two auth providers. One is being Auth1 and other is Auth2. We had Auth1 in place for long time and as maintenance cost is getting higher, we have moved to ...
0
votes
3answers
1k views

Add custom claims to OpenID Connect id token - Web Server Authentication flow

We are using Keycloak to generate OpenID Connect id tokens, now they want to use Salesforce Identity to do that. We have some custom claims in the id token returned by Keycloak that we are not able to ...
0
votes
1answer
51 views

Can we avoid navigating to Azure Ad login screen when we configure SSO with Azure AD as ID provider

I have to configure Single Sign using Azure AD for our salesforce community as Identity provider and Salesforce being the service provider, I want to use Open id Connect. I want check with the forum ...
3
votes
1answer
343 views

Apex callout to an OpenID Connect endpoint protected by PKCE code challenge

I'm trying to write Apex code that'll call an external API. The API is using OpenID Connect for authentication, meaning I'll have to first give consent in order to get an authorization code, then ...
1
vote
0answers
45 views

OAuth Flow required every day. Otherwise Callout fails with 401

In a customer org, Api calls are made using a NamedCredential using an OpenIdConnect AuthProvider. I didn't configure this but my own code fails with 401 Unauthorized. When I going to the ...
1
vote
1answer
581 views

OpenID Connect - adding custom attributes (claims) to id token

I'm having trouble getting a custom claim attribute to come through in the id_token. I've got the scope set to openid and I've added the custom attribute to the Connected App (tenantId). I also tried ...
2
votes
1answer
208 views

OpenID Connect single logout

I have a connected application (web site) that is using Salesforce as an authentication provider (OpenID Connect). And I'd like the logout on my site to work as a "single logout" - it should also log ...
0
votes
1answer
128 views

Salesforce1 Mobile SSO with OpenID Connect, possible?

Reading through the SSO possibilities, I found nothing related to SalesforceApp SSO with the OpenID Connect I got documentation related only to implementation with SAML Is is possible by any chance ...
0
votes
2answers
71 views

Error while logging into salesforce using Google Oauth

We have our Org connected with google using open-id configuration. When User tries to log in to Salesforce using Google, the system checks for the user's gmail id in slaesforce user profile and if it ...
1
vote
0answers
61 views

Setting up an external OIDC auth provider with Salesforce

I have always integrated a SAML IDP with Salesforce and I'm trying OIDC now. I have created a Salesforce OIDC app in my IDP. I took the clientID and clientSecret, and then created a Auth. Provider in ...
0
votes
1answer
259 views

OpenId access token does not work for rest api

I want to use OpenId for Salesforce authentication. I have done the following: created an auth provider (like in this tutorial: https://help.salesforce.com/articleView?id=sso_provider_sfdc.htm&...
1
vote
0answers
144 views

id_token not returned in JWT Bearer Token OAuth Flow

As per the JWT Bearer token documentation The id_token will be return if there is a pre-existing approval for the openid. I have existing approvals for openid for the user. Am I missing something in ...
0
votes
1answer
639 views

Redirect to Authentication Provider Page instead of salesforce login page

I have created an open id connection between external authentication provider and salesforce. Now the requirement is when my domail url is entered in browser, it has to redirect to authentication ...
0
votes
1answer
1k views

Users need to login using External Authentication Provider [duplicate]

I have a requirement where users need to log in to salesforce using external authentication provider. The configuration in Open-id authentication. I have created the connection in Auth.Providers along ...
3
votes
3answers
3k views

Oauth 2.0 Client Credentials - Custom Auth Provider

I am building out a Salesforce Connect customer adapter to translate rest responses into external data objects. To authenticate these requests, I would like to use Oauth 2.0's client credentials flow ...
2
votes
0answers
131 views

OpenID Single Sign On - Change Authentication Flow

I have an Auth Provider created with OpenID and everything is working good. But, I would like to change the Authentication Flow from web server to user-agent Source: https://help.salesforce.com/...
1
vote
1answer
210 views

Where is the certificate for Open Id Connected App in Salesforce?

I have created a connected app and used scope -"Allow access to your unique identifier (openid)". I am expecting a "id token" which would be a JWT token. But where from would I get the digital ...
1
vote
0answers
374 views

Missing unique Third party identifier

I am trying to configure Salesforce to use my custom Identity provider(Based on Identity server 3) as oAuth Provider similar to Google. I am able to successfully achieve it but facing one issue with ...
1
vote
1answer
6k views

Salesforce No_Oauth_State, State not valid

I'm using Open Id for Salesforce, I followed the Doc from https://help.salesforce.com/articleView?id=sso_provider_azure.htm and could able to login to Salesforce using Azure AD credentials ...
0
votes
0answers
286 views

OpenId Connect Custom Attributes : Writing a test class for ConnectedAppPluginExample configured in connected apps?

How to write a test class for "ConnectedAppPluginExample", mentioned by salesforce, here -> https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Auth_ConnectedAppPlugin....
3
votes
1answer
1k views

How does Salesforce handle or use the state parameter on an oauth callback?

Running into an issue with our Open ID Connect Authentication Provider. The current way our registration page has been implemented requires a unique identifier to be passed through the state parameter ...
0
votes
1answer
1k views

OpenID Connect - Bad Response

I've seen a few posts regarding this topic, however they do not appear to solve my issue. I also have a posting on the developer forum. I'm setting up our authentication provider to allow users to ...
2
votes
1answer
2k views

Get access token from OpenID Connect

I'm trying to use Keycoak as identity provider for SSO. Following salesforce help example , I managed to create the login page, redirection, and the user can login succesfulyy , however I wasn't ...
0
votes
2answers
437 views

Dynamic Query Parameters in Auth Provider Endpoint

I am setting up an Auth Provider with an external service that implements OpenID Connect. Their endpoint requires a query parameter because their system uses tenant databases, and their users are not ...
0
votes
0answers
72 views

Authenticate user to Salesforce based on pre Desktop authentication

I am using OpenID connect flow to authenticate to Salesforce community using a third party Identity provider service. I have configured all settings in Salesforce and it is working fine when initiated:...
1
vote
0answers
375 views

OpenID connect authentication

I am working on a Salesforce community usecase and for automatic user provisioning I am using an Identity provider for my OpendID connect flow. Everything is working fine, however there is a scenario,...
3
votes
1answer
160 views

Connected App to provide OpenID Connect

I've a web app which is protected via a login mechanism. There is requirement that we need to let some users login using their Salesforce credentials instead of creating accounts at the web ...
0
votes
1answer
524 views

Openid Connect - Add custom claim

Using OpenId Connect with Salesforce Identity as the IDP and I am trying to add a custom attribute encoded within the ID token. Is this possible? I can't find any documentation on the topic within ...
3
votes
1answer
255 views

Salesforce OAuth Flow locale?

Trying to authenticate to a Salesforce community org (External Identity License) from an external application using OpenID / OAuth 2.0. Can the OAuth flow accept a language parameter in the header or ...
3
votes
1answer
1k views

OpenID Connect with custom IdP: AuthorizationError: No_Oauth_Token/Empty Response

Sorry for kicking this dead horse, I've seen this question asked before. The problem is that answers to it are of no use, it has nothing to do with the fact that it's a "localhost", until parties can ...
0
votes
2answers
188 views

OpenID Oauth API Authentication

I have a connected an Application that is setup with the Oauth using an Open ID authentication provider server. The use case is a user logs into my website that uses the same authentication open ID ...
0
votes
1answer
138 views

About Communities- Portal User Error

I am using Google Open ID Connect to link up with Communities , I have configured everything as in the documentation , but I am getting the below error in the url: "Cannot create Portal user without ...
1
vote
0answers
437 views

OpenID Connect login returns Remote Error & ErrorDescription=427

To provide authentication via the external OAuth2 authorization server, I'm trying to configure Auth. Provider as an OpenID Connect type. After logging into the external server, I got an error page, ...