Comments (2)
We are currently making the flutter agent for IC,soon there will be devs to build other types of client.
I'm thinking to build a
auth-client
package for flutter, which will works similar to the javascript package.However there are some differences between web app authing and native app authing.
- To use current browser's
Webauthn
feature, the native side will open browser window or shared modal.- To the
auth-client
of js, it usewindow.postMessage
to pass the request payload to theAuth
page. But native does not, so we are thinking to pass the URLParameters to it.- So the Identity WebApp will find a way to extract the query info, then pass the login process.
- Then after login success or fail, the Identity WebApp will use
window.location.href={scheme}://{callback_path}?success={true|false}&payload={payload}
to pass the response with delegations back to the native which will useauth-client
to receive.That may require some changes and any good idea we can discuss about?
Did you completed this? I am building a react-native and would like your insights if possible.
I tried using WebView which was unable to load Internet Identity. In other options we do nto have access to postMessage that II is currently using
from internet-identity.
We had URLParameters as an option in the initial design of II, and I think that supporting OAUTH flows is still a valid path that we should pursue. Security nixed it originally, but I think if Google and Facebook can support it, so can we.
from internet-identity.
Related Issues (20)
- Gradient/blur ghost after warning page
- Ensure maxTimeToLive is bigint and not number
- Fingerprint security key option not found when adding the device to an existing account HOT 7
- Dropdown CSS / HTML HOT 1
- Post vitejs TODOs
- No "Select Remote Device"! HOT 2
- Possible tweaks to the slack action
- IC doesn't provide the option to use a smartphone for signing in HOT 2
- Ict
- latest release seems broken locally HOT 1
- Failures when using password manager Bitwarden to to store passkeys HOT 9
- Dev II wasm broken in `release-2024-01-05` HOT 4
- i`m doing .net maui app with webview for this website and i have an issue HOT 1
- Authentication using Tauri
- Cannot display alternative origin on mobile
- Error details caret is misaligned
- Warnbox border gradient is cut off on iPad HOT 9
- Update to dfx 0.12 HOT 2
- Make cards mobile-friendly
- Identity for things? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from internet-identity.