-
Notifications
You must be signed in to change notification settings - Fork 15
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
Authentication (Probe?) Proof of Concept #58
Comments
Hey @MarcusLongmuir! Has any work been done on this? We're interested in helping out on it but could use a bit of direction to be sure we're thinking about it the right way. |
Hey @0xm1kr. I’ve just started doing some prototyping on this. I’ve got a few different approaches to explore, but having some use cases (and also any concerns or whole concepts) would help. I’m currently leaning towards having an identity be created and managed by the world and then be able to consistently provide that to documents and then the MML document can augment that authentication session with additional scopes and access by having the user open popups to communicate semi-directly with the document. One of the key constraints with building a system like this is that the websocket connection to the MML document is observed and usable by the world client so it’s up to the user to trust that client is going to do the right thing with that connection if they authorize it and likely limit what that connection can do based upon risk tolerance. |
Hey @MarcusLongmuir, thanks for the context. Sure thing, I'll outline our use case below and some thoughts we had on auth in general for MML / M^2 worlds. Use Case We're currently working with Directive Creator to add one of our earnable badges into Construct so that you could join Construct as your avatar and collect the badge. It would then show up directly on your other.page avatar profile. Within the badge MML, we want to make an API request to award the badge to the avatar that "collided" with it or "clicked" it. Initially, our plan was to have an authenticated MML URL that can only be copied by our logged in users from within our app. This MML URL would contain the The issue is, we would need to add this attribute and the ability for the MML badge object to retrieve it from a Auth When it comes to auth for m^2 worlds, it would be great if the system could be fairly open / extensible. This way apps like ours can provide deep Web3 context to MML and worlds, without the user having to login multiple times with multiple different credentials for every experience. That said, as you mentioned it's tricky to know if we can trust the client, but if the MML url that the user is inputing for their avatar is already authenticated, our thought was that could be a start. Our connect solution could also be a potential general solution for Web3 focused MML experiences, so definitely something we'd like to discuss further if there is interest. |
No description provided.
The text was updated successfully, but these errors were encountered: