You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a UX challenge we need to work out. We need the user's public address before they agree (since that's the equivalent of their username).
That means users will need to authorize metamask to connect to our app before hitting a terms of service page. I think we'll also want them to sign the message to datatrust and get a web token first, since that's the only way we know for sure that their public address is really theirs.
That means the flow needs to be:
Users authorize MM to connect to the app
Users sign the message to datatrust to authenticate to datatrust
(first time using the app) Users agree to terms of service
Let's call this flow the "login".
Right now it appears we're only requiring users to connect to metamask when they visit certain routes. This doesn't work when we insert a terms of service into the flow.
We need to do one of two things:
Users can view whatever they want, but are required to login if they click certain buttons that start actions that require them to be logged in. This is what most apps do, but it's complicated.
Gate access to the entire app with a login.
No. 1 is more ideal, but likely requires significant work, so may not fit in the public beta milestone. Let's do no. 2 first.
This is going to require storing something in the back end, that the user agreed to the consent.
This would be
The text was updated successfully, but these errors were encountered: