I'm learning flutter webview. I want to authenticate with my fingerprint.
The site that I wrap in webview is written in Laravel. I use local_auth 1.1.11 as an authorization plugin.
How can I combine this plugin and authorization on a site that is wrapped in a webview.
At the moment, I'm thinking of setting up the application on the side of the flutter itself (the checkbox, when enabled, will enable authentication using a fingerprint), but where to go next? If I make this setting, how can I authorize on the webview site when scanning a fingerprint?
As I understand it, it would be a bad idea to manually enter the login password in the same settings on the flutter side and then send this data to the site as inputs when scanning the fingerprint? Please help and tell me in which direction to move and how it can be implemented.
Related
Im trying to create an discord auth on my flutter website using oauth2, webview_flutter & webview_flutter_web.
After click connect button it should redirect user to discord login site, but then this error pops out
Error pops out also on other browsers like chrome or edge.
I was trying to run it in different project, but on android this time and it works fine. So the error must be related to the web version.
I read somewhere that it might be related to iFrame, but it wasn't really explained there.
Any ideas what this error might be related to or how to fix it?
this also happens with other websites.
I'm trying to upload a file to google drive through my flutter app, I've done all the steps mentioned in the below thread(2nd Answer)thread
and I created an icon button on my app screen and called the uploadFileToGoogleDrive() method
googleDrive.uploadFileToGoogleDrive(file);
when I click on the icon button I get redirected to the below page
Please help
you have the redirect uri set to Http://localhost:35211
Redirect uris must be https not http.
Configure your application so that it runs https.
I am struggling to utlise the angular-auth-oidc-client to add OIDC workflows into my Ionic app (android), although I feel the issues are more Capacitor so not sure that the library is the issue. There are numerous (old) posts on Google of people who have had similar problems, so I'm trying to ascertain the current state of play. I can:
By utilising a custom android scheme in my AndroidManifest, and an 'appUrlOpen' listener in app.component my OIDC login page loads in the Chrome browser on the device, and then returns to the Ionic app and opens the correct app page. Unfortunately because I've opened the login in Chrome it hangs around in the background with the username and password populated. I've no handle to it to close it, and the Capacitor plugins don't help me here.
Alternatively, I can add my ID Provider domain into 'AllowNavigation' in capacitor.config.json. This opens my login page in the app's webview, begins the redirect on successful login but fails (hangs) because Capacitor is not loaded when it attempts Window.Capacitor.triggerevent calls.
This is probably classed as a poor question, and I appreciate that it is light on code, but I'm interested in whether anyone has actually managed to do this successfully, as there are so many dead ends on google and github of people who've given up!
Yes it is possible to complete an Open ID Flow on ionic with capacitor.
You need a capacitor plugin to do so, ionic provides an own payed plugin (https://ionic.io/docs/auth-connect), other alternatives exist.
angular-auth-oidc-client out of the box works only on browser, not on iOS or Android. It seems that some adoption can be made, see https://github.com/damienbod/angular-auth-oidc-client/issues/807.
I've been working on app that use Firebase_Auth to allow user to login or signing but now I need to connect user to a website at the same time he login or signing to the app through verification maybe, so the user don't need to login and enter his password and email again also allowed to download files or do anything in website but i don't actually know how to do that, do I need to write js code inside website code or there is a plugin in flutter that can do that like this plugin in flutter
thanks in advance for any help.
I am using local_auth library for fingerprint authentication. Is there any way to authenticate user without any pop-up dialog, just listens authentication when opens the page (initializes at initState)
There is a plug in Invisible Authentication that might be just the thing you want. There is no pop dialog for authentication.
Hope it helps.