Example:
- I login to the NNS with my Internet Identity and it show my balance.
- I login to the Oisy wallet with same Internet Identity and shows zero balance.
Am I missing something here?
Example:
Am I missing something here?
This behavior is expected. Every time you log in with your identity on a different dapp, the dapp receives a unique principal. This is also true per domain, meaning that if you sign in to the same app on two different domains, such as localhost and its production URL, you will get different principals. This design is intended to enhance privacy and prevent tracking.
For this reason, when you sign in to different dapps like NNS or Oisy, you will have different principals, which results in separate accounts.
Note that there are ways for a same app using multiple domains to derive the same principal - known as “alternative frontend origin” - but, this is not the case for Oisy and NNS.
@peterparker Thanks for clarifying.
Totally makes sense.
Just for clarification:
Accounts are derived from principals and principals are derived from Internet Identity + domain ?
@ferMartz That’s correct
Thanks for the quick response!!!