refactored processing opauth custom config