IdentityModel draft implementation