Add validations on pid and uuid in OmniauthRef

DESC: A