Relaxing oauth2 dependency requirements