adding hooks for config in the future, and make it center the opened oauth window