createUser callback inserts your app’s user fact during first sign-in.
With any provider you can keep the record yourself, keyed by the caller’s
PrincipalId.
ctx.put makes the fact be this blind, so a first save and a later one are
the same call. Use ctx.insert instead when a second creation must refuse
Exists.
The profile is application data. It gives the caller no role: roles come
from grants.