Questions tagged [webauthenticator]

19 questions
4
votes
1 answer

Correct way to use Web Authenticator in .net Maui for Google login on Android

I have followed the official documentation of the web authenticator for .net Maui here. It explains what to do efficiently but they miss some crucial information regarding the callback url. According to the article the url should be myapp://. I…
Pretorius
  • 87
  • 2
  • 8
3
votes
0 answers

Xamarin Essentials WebAuthenticator.AuthenticateAsync method doesn't return any result

I have added a WebAuthenticator.AuthenticateAsync method in my xamarin forms app with start up Url as "https://accounts.google.com/o/oauth2/auth" and call back url as "myapp://" I have also tried with call back url as…
3
votes
2 answers

WebAuthenticator -> You must subclass the WebAuthenticatorCallbackActivity and create an IntentFilter for it which matches your callbackUrl

Expected Behavior : app should open website for login Actual Behavior : error encountered You must subclass the WebAuthenticatorCallbackActivity and create an IntentFilter for it which matches your callbackUrl. Screenshots : Error Subclass
2
votes
0 answers

WebAuthn: using algorithm -47 (ES256K) for PublicKey fails

I'm trying the basic user registration with WebAuthn following https://webauthn.guide/#registration . If pubKeyCredParams: [{alg: -7, type: "public-key"}] is changed to pubKeyCredParams: [{alg: -47, type: "public-key"}] i.e. from ES256 to ES256K…
rlib
  • 7,444
  • 3
  • 32
  • 40
2
votes
2 answers

Google Authorization Error Error 400: redirect_uri_mismatch

I have a serious issue with my asp.net core web api, the google login works fine on localhost but when publish on the remote server in ElasticBeanstalk it's throws this error. All the authentication process is ok on localhost. Please if someone can…
2
votes
0 answers

Xamarin Essentials Web Authenticator does not return to my app

I have followed the steps mentioned in documentation for Xamarin Essentials Web Authenticator. With my url, the user is shown a login page and the login succeeds. However, after successful login the token information is shown in the browser itself.…
1
vote
0 answers

Xamarin Android WebAuthenticator bug

Im having a problem using WebAuthenticator on Xamarin.Android Everytime i try to log in via a external service (Goverment From Brazil) it returns me Java.Lang.RuntimeException: 'Unable to instantiate activity ComponentInfo Heres the class that…
1
vote
0 answers

Xamarin.Essentials' WebAuthenticator vs MSAL?

Being a newbie to Xamarin I am not sure if these can be compared. I am looking at ways to authenticate a user through Xamarin app. We use Azure AD and my Xamarin app wants to autheticate the staff of our organization. It then needs to access an…
Newbie
  • 563
  • 1
  • 5
  • 16
1
vote
2 answers

WebAuthenticator.AuthenticateAsync Facebook Login not closing

I'm trying to get this up and running but I do not know where the issue is. My startup: public void ConfigureServices(IServiceCollection services) { services.AddIdentity(options =>…
Jeppen
  • 414
  • 5
  • 12
0
votes
0 answers

Connecting R to Snowflake via ODBC with SSO and Web Authentication

I'm trying to connect R Studio to Snowflake via ODBC but we're on SSO and web authentication. A lot of the articles I've found are based on a user having a user ID and password authentication access. I'm using the odbc, DBI, dplyr and dbplyr…
0
votes
0 answers

want to use ms hello for business as a authenticator for third party app

I want to use ms hello for business as a authenticator while logging into my client app. Can I integrate ms hello for business if so what are the steps for this. I have tried - https://www.youtube.com/watch?v=oW1SJxGiaZA But this do not have…
0
votes
0 answers

Xamarin Essentials: WebAuthenticator can't retrieve callback application terminate

I started doing a integration for my work, and came across this problem i get this error when receiving the callback from authenticateAsync: Java.Lang.RuntimeException: 'Unable to instantiate activity ComponentInfo heres the AndroidManifest with the…
0
votes
1 answer

.Net Maui Android app with Google login using WebAuthenticator doesn't work

The Apple login works great in my iOS app. I've configured the server for Google, but can't get it to work. It's an Asp.net 6.0 Blazor WebAssembly API. This line of code gets called in my Android app, but nothing is returned. result = await…
Dumber_Texan2
  • 840
  • 2
  • 12
  • 34
0
votes
0 answers

Clear Cache in WebAuthenticator Xamarin Forms

I am trying to clear cache for Webpage opened in WebAuthenticator in Xamarin forms. Currently there is a way to open WebAuthenticator in InCognito mode but that can't be used in my case because i need to logout also. One manual solution is to clear…
Sourav Anand
  • 41
  • 2
  • 3
0
votes
2 answers

.Net MAUI WebAuthenticator CallbackUrl for social logins

I'm following this guide to setup authenticating with social logins using MSAL and Web Authenticator. The example call looks like this: WebAuthenticatorResult authResult = await WebAuthenticator.Default.AuthenticateAsync( new…
Jimmy
  • 2,191
  • 6
  • 25
  • 45
1
2