Questions tagged [open-id-connect]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
18 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
31 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
92 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
29 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
94 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
32 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
39 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
0answers
38 views

Open ID Connect - Retrieve refresh_token or id_token

I'm using an Open Id Connect auth provider to Single sign on. I want to retrieve the id_token issued to the current user so i can propagate it to a third system on callouts. Is there any way to ...
0
votes
1answer
600 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
231 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
388 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
0answers
37 views

Salesforce- Custom Open ID Auth. Providers- how to get query parameters from sso url that started the initiate method

Is there any way we can access the url that initiates the flow from the initiate(...) method on Auth.AuthProviderPluginClass so I can read any query parameters passed in with the auth provider sso url,...
0
votes
1answer
41 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
251 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
390 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
153 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
109 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
63 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
58 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
205 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
124 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
454 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 ...
-1
votes
1answer
878 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 ...
2
votes
3answers
2k 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
126 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
162 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
321 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
4k 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
257 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
851 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 ...
1
vote
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
392 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
70 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
360 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
139 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
503 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
219 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
183 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
133 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
319 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, ...
3
votes
0answers
749 views

OpenID Connect's Implicit Flow is available in Salesforce?

I'm trying to login to Salesforce by Implicit Flow using third-party OpenID Provider on localhost. After authentication and authorization on the OP, it responds Access Token and ID Token to ...
1
vote
1answer
2k views

OpenID Connect login returns No Oauth Token & Empty Response

Trying to create an OpenID Connect provider in my app to provide SSO into SF. I'm using a python library: pyoidc. However, I keep getting redirected to an error URL... https://na10.salesforce.com/...
3
votes
2answers
2k views

How to refresh a token retrieved from the Auth.AuthToken class

A Salesforce instance is configured so that users can log in using OpenID Connect and their Google credentials. I am trying to access the token provisioned by the login via google to make callouts to ...
4
votes
2answers
541 views

Open Id Connect Network Activation

I have configured a salesforce instance to use Google for user Authentication via Open Id Connect. This is for users with full Salesforce licenses to login to Salesforce. When I log in from a new ...