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 [login]

The tag has no usage guidance.

0
votes
0answers
23 views

Need help on assert on test class for pagereference [duplicate]

I am not able to get how i can use assert here as a test class best practice. below is the class public with sharing class MyDomainDiscLoginDefaultHandler implements Auth....
1
vote
1answer
32 views

Need help on Salesforce Login Discovery using My domain

requirement- When user enter username then it will redirect to SSO setup in salesforce and if user entered correct details then second sso needs to get called and if user enter correct credentials ...
3
votes
0answers
26 views

Why there are question marks in “User” column in Setup Audit Trail CSV file?

In our Org there was a change in a Profile made and a "Modified By" field points to one of our employees. We're sure that it's impossible for this person to log into SF that day so we wanted to ...
3
votes
0answers
67 views

Why I can't login to Lightning Experience? (only Classic is working)

As of today I can no longer login to newly created DE Orgs spun with the Environment Hub. Login works sometimes directly after creation for some minutes or does not work at all. It just shows an ...
0
votes
0answers
29 views

Verify the Login without do it

I'm working with a Salesforce Customer Community and I was wondering if is possible, given a username and a password, check if this credential is good or not without invoking the Site.login() method. ...
0
votes
0answers
42 views

Make a Session using Apex code

I am wondering if there is any out-of-the-box functionality to make a Session for a specific User using Apex code. What I mean is this: I would create an Apex method, pass a UserID as a parameter, ...
1
vote
0answers
18 views

Can I remove standard login button from top right on community page

I have created my custom button in the center of community that redirects user to sign up and login page. I want to hide the one that appears by default on the top right of community page. Is there a ...
1
vote
1answer
61 views

Marketing Cloud Download Metadata for Single Sign-On (SSO)

In the Single Sign-On documentation, it states there is a Download Metadata link available to retrieve metadata needed to setup SSO. I don't see this anywhere in the Security Settings in Admin. ...
1
vote
1answer
31 views

Salesforce Authenticator - We received an unrecognized request

Has anyone seen this error before with the Salesforce Authenticator app? We received an unrecognized request We found a request for a previous installation of the app. We took care of it for ...
2
votes
1answer
45 views

social studio - how to by pass login?

In social studio (marketing cloud), Is is possible to by-pass the login form, via http-request calling the login form from a webpage and landing to social studio as logged? If so please would you ...
0
votes
1answer
31 views

Two factor authentication using Security token

I need to implement 2fatcor authentication but the requirement is to get login to envirnment using client provided Secrurity token(Hardware token). Once user entered username and security token ...
0
votes
1answer
14 views

Is there any way in salesforce where manager login as someone who reports to them?

Is there any way in salesforce where manager login as someone who reports to them and not able to login as any other user.
0
votes
0answers
20 views

Salesforce mobile app session settings

Salesforce mobile app logs out if there is not activity for long time.Is there any settings to make sure it logs in always.I have 2 hours as session settings under profile level and 2 hours under org ...
0
votes
0answers
33 views

Passwordless login for new users in Communities

I´m testing passwordless login for Communities and I have created a successful example. My idea is to simplify the login process for users who don't want to remember a password and also keep at the ...
0
votes
0answers
27 views

How do I able to set login landing page according to user's profile

In order to implement my question, I tried overriding SiteLoginController like as below. global PageReference login() { User getProfile = [SELECT ProfileId FROM User WHERE Username=:username]; ...
0
votes
0answers
28 views

simple_salesforce Custom Domain

I am having some trouble using simple_salesforce to login using my username, password, security token. My companies SF instance is on a custom domain (I do not use login.salesforce.com and instead I ...
0
votes
1answer
43 views

How to enforce session timeout in Native-iOS App

I am using SF Mobile SDK version 5.2. I am only using the sdk for authentication and authorization of SF users of our organization. Once a user is authenticated from the salesforce, he can use the app....
1
vote
1answer
31 views

Refresh currently logged in user information

We have a fairly customized Salesforce Community, to say the least. We allow certain actions to take place, and some of those actions change the current user's profile from a lower level profile to a ...
0
votes
0answers
12 views

Embedded login page from community

While implementing embedded login - how can I can my passwordless login community page as inline through "salesforce-mode" meta tag? When I put "salesforce-mode" to inline I do not get my community ...
0
votes
1answer
48 views

Get current user's IP address in a Login Flow

How can you get the IP address using a global variable or by querying some kind of a setup record? I've looked at LoginHistory.obj, LoginIP, LoginGeo, but none of them show current data. $UserInfo ...
0
votes
0answers
32 views

sys admin cannot log as some users

I have sys admin profile. I dont understand why I am not able to log as some users which have the same custom profile. For example in the image, "Analyst T.O" has the same profile as "Analyst, Credit" ...
1
vote
1answer
101 views

Unable to authenticate through REST API when using scratch org

I'm having some trouble getting the REST API to work on a scratch org. When I call the login endpoint I get the error "invalid grant". (This happens when I try test.salesforce.com as well as login....
0
votes
1answer
138 views

Customer Community User login using Partner WSDL

Requirement :- Login Customer community user into Salesforce using Partner WSDL. I tried solution provided here and it works for customer community users for me using SOAP UI. But when I used ...
0
votes
2answers
42 views

Why does salesforce use a subdomain for logging in?

To log into salesforce without a custom domain set up we go to "login.salesforce.com" What benefits, if any, are gained by using a subdomain for logging in?
1
vote
0answers
259 views

Authentication into Dev Hub does not work in CLI

I type in Salesforce CLI the following command: $ sfdx force:auth:web:login -d -a DevHub My browser opens up a login form. I pick the org which has Dev Hub enabled. Then in browser I am getting ...
0
votes
0answers
21 views

External User Login NOT Successful but Salesforce registers as Successful

We have a Community portal for external users. When an external user first registers, they must set a password. After doing so, they are redirected to the login page for the Community. They then enter ...
1
vote
0answers
27 views

Is Salesforce 2FA supported using only SMS or Email and not the Authenticator Application?

I am trying to do two-factor authentication via email or SMS. 2FA via the authenticator app isn't an option as we cannot install anything on user phones. Native Identify Verification codes would work ...
1
vote
1answer
70 views

Login Page Validation - AMP Script

I have a requirement to validate the credentials in the login page for the data in one the DE that I have for the client. I have created a login page in cloud pages/ landing pages ( salesforce ...
0
votes
2answers
53 views

Loging as another User in Lightning

While login as another user the page gets refresh and lands on my current page instead of logging as the other user. but sometimes it works. Is there any work around for this in lightning?
3
votes
1answer
132 views

How to invoke a flow/trigger if a user fails login attempt?

What Needs to Happen: When a user logs into the org, we perceive the attempt as either Successful (correct password), Failed (incorrect password), or Other. If the user fails the login attempt, a User ...
1
vote
1answer
84 views

Find out org id

What are the ways to find out my org id? Here is a way I found. Log In to the Salesforce Help and Training Portal. Scroll to the Support & Services tile and view your Organization ID. ...
0
votes
2answers
20 views

Cannot reset my developer account Password as i don't have the number linked to it nowl

My name is akhil and i have a developer account with username: chikkaraju.akhil1@nagarro.com and the email that is linked with that account is : chikkaraju.akhil@nagarro.com. The problem that i'm ...
0
votes
1answer
48 views

Talend to Salesforce: IOException: [LoginFault [ApiFault exceptionCode='INVALID_LOGIN'

I am trying to connect Talend to Salesforce. I complete the Salesforce connection settings in Talend: User Id Password Security Token And then try to test the connection, and I get this error ...
0
votes
1answer
136 views

Getting error “No access: User was a portal user” Social Log-In when logging with Facebook SSO

I have been following this trailhead to allow users login in a community using facebook: https://trailhead.salesforce.com/en/modules/identity_external/units/identity_external_social I dont want them ...
0
votes
2answers
166 views

Disable Auto Log Out?

Is there a way, as an Admin, to disable Auto-logout? Not for the whole org, just for myself? I want to leave my work tabs open without coming in the next day to a lost pallet.
0
votes
1answer
43 views

OAuth2 User-Agent Flow: how to tell when access_token expires?

I'm using the User-Agent flow, and I successfully get back a, access_token. From here I have no way to determine when this token expires. I was hoping, that calling the https://test.salesforce.com/...
1
vote
1answer
105 views

Internal Cloudpages (only for SFMC Users)

I was wondering if there is a fast way to create cloud pages only for logged in SFMC users. Or create a small Log-In process that only gives users access to certain pages that have a valid token or ...
2
votes
0answers
43 views

What counts as a Login for Salesforce?

My users don't actually log in multiple times in a day, yet the login report shows many - one user has approx 8 logins per hour, but I know he doesn't actually 'log in' that many times. Does opening a ...
0
votes
0answers
17 views

Flow won't be able to redirect to a page after a valid decision

I customized the login flow and expect a user could be redirected to the community home page after passing the verification. However, from the flow designer, there's nothing that we could do after a ...
0
votes
2answers
73 views

Salesforce: Custom Audit Log

As per my current search, Salesforce Setup Audit Logs are stored automatically & we can't add any records to it manually when any apex is run or page is viewed or any custom object is added, ...
0
votes
1answer
298 views

Can I branding the login page for the custom login flow

I created a flow for the custom login with specific profile. However, I could only change the community logo but not having a way to to branding the page. For example, change the background into blue ...
3
votes
1answer
61 views

Is session duration guaranteed?

Let's assume that our session timeout value is set to the default 2 hours. The documentation defines this value as Length of time after which the system logs out inactive users. If the user is ...
1
vote
2answers
38 views

multiple types of user in same community portal [closed]

Is it possible to use the same community portal for the different type of users? If yes, how can we distinguish them after login? We have different types of user, one is Rider & Other is Driver. ...
0
votes
1answer
75 views

What does Third Party SSO login type mean?

I just got an email to verify my identity with an verification code, but I wasn't trying to log in to salesforce at that moment. I looked at the login history and the attempt was from my IP address ...
1
vote
0answers
81 views

Logout from all tabs when from one tab a user logged out

I have a requirement like ,i have opened 2 3 tabs.And lets say i logged out from 1st tab.Then without refreshing my other tabs how will the user be redirected on to the login page. On tab 2nd there is ...
0
votes
0answers
19 views

Salesforce Community dynamic login page

I am stuck in a situation and trying to find a solution. My use case is: I have implemented a single community in salesforce and used the external identity licenses. Salesforce acts as IDP. I have ...
0
votes
2answers
102 views

Customise Salesforce Login Screen

Is it possible to customise the Salesforce Login screen if an Org is using the My Domain feature? Login Screen For example: Custom Logo Custom Colours Custom Image on the right side
0
votes
1answer
22 views

i need to set one IP in profile 202.32.123.130

i need to set one IP in profile 202.32.123.130.But there are 2 IP Start Address IP End Address fields are mandatory.how can I add one IP (202.32.123.130)
0
votes
2answers
610 views

Failed to send request to error with Data Loader Log In

I am getting the following error when I am trying to log into Data Loader: Failed to send request to I checked that I am providing the correct Username, and the correct Password (in the form of ...
12
votes
1answer
150 views

Can a Login Flow know which Connected App started it?

I want to show different screens based on which connected app is used to login to Salesforce. Can the login flow somehow know which connected app is used? There are multiple Login Flow variables we ...