The Mobile App is integrated with Salesforce and authentication done using oAuth2.
After Login page user redirect to Allow Access screen . On Allow Access click user stays on the same screen and not redirected to
Mobile App .
IF BUG, INCLUDE THIS PART:After Login page user redirect to Allow Access screen . On Allow Access click user stays on the same screen and not redirected to Mobile App .
Version
[x] nuget version = 1.7.0
[ ] component version =
void LoginToSF(bool allowCancel)
{
OAuth2Authenticator auth = null;
try
{
var activity = this.Context as Activity;
if (CrossConnectivity.Current.IsConnected)
{
auth = new OAuth2Authenticator(
clientId: AppConfiguration.clientId,
scope: "",
authorizeUrl: new Uri(AppConfiguration.authEndPointURL),
redirectUrl: new Uri(AppConfiguration.redirectUri));
auth.ClearCookiesBeforeLogin = true;
auth.AllowCancel = false;
auth.ShowErrors = true;
On Allow Access click the screen should be dismissed and user should be redirected to the App.
Allow access click does not come back on completed event.
Tell us what should happen
Actual behaviour
On Allow Access click the user stays on the Allow Screen and not redirected back to the App.
Tell us what happens instead
Can you also include a screen shot?
IF IT IS A NEW FEATURE REQUEST, INCLUDE THIS PART:
Feature description
The User is authenticated using oAuth2. After Login user is redirected to the Mobile App.
Include some graphics if this could help!
Xamarin.Auth Issue
The Mobile App is integrated with Salesforce and authentication done using oAuth2. After Login page user redirect to Allow Access screen . On Allow Access click user stays on the same screen and not redirected to Mobile App . IF BUG, INCLUDE THIS PART: After Login page user redirect to Allow Access screen . On Allow Access click user stays on the same screen and not redirected to Mobile App .
Version
void LoginToSF(bool allowCancel) { OAuth2Authenticator auth = null; try { var activity = this.Context as Activity; if (CrossConnectivity.Current.IsConnected) { auth = new OAuth2Authenticator( clientId: AppConfiguration.clientId, scope: "", authorizeUrl: new Uri(AppConfiguration.authEndPointURL), redirectUrl: new Uri(AppConfiguration.redirectUri)); auth.ClearCookiesBeforeLogin = true; auth.AllowCancel = false; auth.ShowErrors = true;
Steps to reproduce
1. 2. 3.
Platform:
Expected behaviour
On Allow Access click the screen should be dismissed and user should be redirected to the App. Allow access click does not come back on completed event. Tell us what should happen
Actual behaviour
On Allow Access click the user stays on the Allow Screen and not redirected back to the App. Tell us what happens instead Can you also include a screen shot?
IF IT IS A NEW FEATURE REQUEST, INCLUDE THIS PART:
Feature description
The User is authenticated using oAuth2. After Login user is redirected to the Mobile App. Include some graphics if this could help!