I think should make life easier for you.
Great idea for a plugin, auth0 is awesome (if super complicated at times).