Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add login_hint parameter to login process #3670

Open
trongnsy opened this issue Nov 23, 2023 · 1 comment
Open

Add login_hint parameter to login process #3670

trongnsy opened this issue Nov 23, 2023 · 1 comment

Comments

@trongnsy
Copy link

Please fill out the following details:
In case, my app is opened from a page in the SF app .
The requirement is that current user logged in the SF app need to log in to my app.

In the log in page, the username field should be autofilled with username of current logged in user in the SF app.
(Note: the username is sent by URL)
Actually, I cannot find any way to passing username to the login form. The expect behavior is as the attachment
image0

With the same case in SF Mobile SDK for Android, I can do this with additionalParameters of loginOptions
addtionalParameters.put("login_hint", username); loginOptions.setAdditionalParameters(addtionalParameters);

  1. Version of Mobile SDK Used: 11.0
  2. Issue found in Native App or Hybrid App: iOS Native App
  3. OS Version: 17.0
  4. Device: iPhone 12
  5. Steps to reproduce:
  6. Actual behavior:
  7. Expected Behavior:
  8. Error Log:
@wmathurin
Copy link
Contributor

@trongnsy thank you for your feedback. It is not currently possible on iOS. But we recorded your enhancement request in our internal backlog management system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants