Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [auth-provider]

The tag has no usage guidance.

0
votes
0answers
22 views

OAuth calback to Salesforce after logging to External Identity Provider in Open CTI Softphone

I'm working under our solution of the Softphone using OpenCTI. On start screen in Softphone window, I show with our own OAuth provider login page. After login, the provider redirects to specified ...
0
votes
1answer
27 views

Login to OpenCTI softphone through the custom auth provider

I'm working under our solution of the Softphone using OpenCTI. Now I need to authenticate our customer's users through our OAuth2 provider. How I understood the best practice for using external ...
0
votes
1answer
69 views

Named credential for gotoWebinar app (oauth v2.0)

Is it possible? I'm trying to do it but had some errors My steps where: 1) Create the app in the Developer Center. On the Application URL I left the suggestion https://api.getgo.com (I guess this ...
0
votes
0answers
11 views

Authenticate and expose external azure report on an iFrame in Communities

I am trying to figure the best way of doing this. We have a report that gets generated in Azure that has customer details. What needs to happen is, when a customer logs into SF Communities, we ...
1
vote
0answers
25 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
57 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&...
0
votes
0answers
10 views

Community user needs to redirect to login page when logged out

We have a community and users who are using the community are logging into Community using Third party authorization. When logged out, it is showing that the user is still logged in with an error ...
0
votes
1answer
47 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
58 views

Users need to login using External Authentication Provider

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 ...
0
votes
2answers
100 views

How is named credentials & auth provider with connected app used? Can i have scenario where it is needed?

I have seen people use auth. providers that has client secret and id of connected app and authenticated using named credentials. The named credentials stores the oauth refresh token but I am not ...
0
votes
2answers
227 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 ...
3
votes
1answer
110 views

Custom OAuth Auth Provider

I have a Rest API Endpoint that I am looking to callout to. Something like this: https://myrestservice.com/service/logs When setting up the Named Credential, I set up the URL to: https://...
4
votes
0answers
40 views

What is the proper approach for deploying custom Auth. Provider in Salesforce DX?

I have a custom Auth. Provider and a couple of Named Credential which use it. The auth. provider metadata requires "Execute As" field which is represented as username in metadata and as you know, ...
2
votes
0answers
121 views

We can’t log you in because of an authentication error. For help, contact your Salesforce administrator

We are trying to implement custom auth provider to facilitate users from a different domain can log into Salesforce with domain credentials. Flow:- 1.User will login to web application with domain ...
0
votes
0answers
65 views

Using Okta SSO and Auth Provider with Named Credentials

I've got Okta SSO and a Auth Provider that generate tokens which works pretty well, except that after 1 hour the tokens start to expire. Rather than adding additional app logic to manage token refresh ...
2
votes
0answers
22 views

Can Social Logon be used directly from a native mobile app?

We have a Customer Community with Facebook and Google set up as Auth Providers. In addition, we have a mobile app that connects to Salesforce using OAuth towards this community. This all works fine. ...
2
votes
0answers
38 views

Setting up Marketing Cloud as an Auth. Provider

Lately we've been integrating very tightly with Marketing Cloud, so I thought about trying to set up the External Services which Salesforce provides in order to do some minor actions via flows. In ...
4
votes
1answer
298 views

error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration

I am connecting two salesforce orgs with connected app, named credential and Auth Provider. I have created connected app in target sandbox. Created Auth Provider in source org by providing Consumer ...
1
vote
1answer
143 views

Allow all Users to access specific User's token from Auth. Provider

I've created an Auth. Provider for Microsoft SharePoint and after visiting the OAuth-Only Initialization URL and running a callout using that Auth. Provider, everything works as expected. I've ...
0
votes
1answer
226 views

How to prevent auto login (using auth provider) after logout from SF org?

My domain is setup. Auth provider is setup. For Authentication Configuration only Auth Provider is selected for Auth Service. When I go to https://mydomain.my.salesforce.com/ I'm presented with Auth ...
0
votes
1answer
590 views

Refresh token - Rest Integration Salesforce

I have been googling a lot about the fact how to get a refresh token. I have rest integration between salesforce to salesforce and it is working fine. After few hours not using the service I get this ...
0
votes
2answers
238 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 ...
3
votes
1answer
466 views

Custom Auth Provider usage for unattended OAuth flow

I am attempting to make a REST callout to an API in our company that uses ApiGee as the OAuth2 provider using a simple client credentials grant type. Open-ID is not enabled and will likely not be an ...
6
votes
1answer
691 views

Session Id not getting refreshed automatically with Custom Auth provider in Salesforce Named Credentials

Problem statement : The Named Credential created for OAuth 2.0 authentication and Custom Auth provider works until the first session Id which was obtained using the method 'handleCallback' is valid. ...
1
vote
0answers
27 views

Getting an Error on Community When Trying to Work with Custom Auth. Provider

I've configured a community to work with custom Auth. Provider by selecting it on the manage community menu (Administration --> Login & Registration). After entering user name + password, it goes ...
3
votes
1answer
96 views

Auth Provider Insufficient Privileges on the migration tool deployment

I have created a custom Auth Provider and a named credential. I then deployed it to my org as a system administrator. When I tried adding the named credential to User -> Authentication Settings for ...
1
vote
0answers
144 views

Customer Portal + Auth Provider + Connected App + Facebook Login + SalesforceMobileSDK-CordovaPlugin

When we login using Facebook it successfully redirects to the Facebook login page and if login username and password are correct then shows the authorisation of the Facebook developer app. when you ...
1
vote
2answers
880 views

Facebook as Auth Provider - no username or email passed in Auth.Data

I've been trying to setup auth provider login with facebook. I've followed the instructions online, have generated an authentication handler and customised. However when I try logging in (through ...
4
votes
1answer
994 views

Salesforce to Salesforce integration using Named Credentials

I am trying to build Salesforce to Salesforce integration using Named Credentials. Followed the steps from below blog. http://www.jitendrazaa.com/blog/salesforce/salesforce-to-salesforce-integration-...
2
votes
0answers
250 views

Salesforce as IdP for Aha.io - Single Sign-On Error: Invalid HTTP Method

I'm completely new to SSO, so please bare with me... I am trying to setup Salesforce as the IDP using SAML 2.0 for a third party application called Aha.io. I've followed this guide to Enable ...
3
votes
2answers
421 views

Query “Client Configuration” from Auth Provider (e.g. “SSO Initialization URL”)

After creating an Auth. Provider (in my case it is Provider Type = "Salesforce"), I am presented in the Setup UI with 5 URLs under "Client Configuration", including the SSO Initialization URL and ...
1
vote
1answer
498 views

Facebook Auth provider

Hello All, i had already created a Facebook App Rex Demo and i want to use this app through Single Sign on. Client Configuration:- test-Only Initialization URL https://login....
0
votes
1answer
247 views

Error Autocreating Apex Class: Invalid type: Auth.UserData while configuring Facebook as Auth provider

I had setup facebook as an auth provider with salesforce communities and it worked very well until a few days ago. After spending couple of hours with it, I have found that there is a problem with ...
3
votes
0answers
801 views

Auth Provider : AuthorizationError?ErrorCode=NO_ACCESS&ErrorDescription=User+was+a+portal+user

I would like to ask you about Auth Provider: I have a Registration Handler in a DE org linked to my Auth provider, it is working correctly and allowing the external users to register. Now I decided ...
4
votes
1answer
3k views

Auth Provider + Communities

I'm trying to sign into a community via Auth Provider from an external org. I've set the Auth provider in my organization and my community too. Doing as the documentation says: Using the community URL ...
2
votes
1answer
777 views

Auth Provider - LinkedIn - User Info Endpoint URL?

I'm having trouble determining what the "User Info Endpoint URL" should be when setting up a Auth Provider on a Salesforce org for LinkedIn. I have correctly set up the Authorize Endpoint URL and the ...
4
votes
2answers
3k views

Salesforce Auth Provider with Facebook SSO

After 3 and a half days of reading through documentation and trial and error, I have come to a point where I am just stuck trying to make it so Community Users and/or normal Users can log into a ...
2
votes
1answer
49 views

Facebook Auth Provider status

I've successfully develop Facebook Single Sign-On. The question is: is it possibile to send a "status" parameter in the requesting URL? I mean something like "https://test.salesforce.com/services/auth/...
2
votes
1answer
324 views

Error: Janrain authentication

I followed the janrain Auth provider tutorial for social login implementation and getting following error: https://ap1.salesforce.com/_nc_external/identity/sso/ui/AuthorizationError?ErrorCode=...
3
votes
2answers
1k views

Auth Provider redirect to Community Custom Domain

I have a salesforce community that has two URLs, one of which is a custom domain, e.g. 1) mysite.force.com 2) mysite.com When an Authentication Provider is used (in this case, Facebook) to login, ...