our scenario:
a non-ICP webserver is handing out tokens if a user does something in that system,
so users provides some information and gets X loyalty coins
i want to call something like "grantTokens(toPrinciple:x, amount y) from my non-ICP server to my coin canister
i need to be sure that these calls originate from the given non_ICP webserver - through identity or certificate or something
practical would be if i can provide some signed identity along with my call from the non-icp server
That’s exactly the scenario that can be tackled with the tutorial above.
You initialize an identity in the web server from a given private key or seed and then check that the caller is the corresponding principal in the canister.