oauth workaround, redirect uri

temporarily fix issue with oauth authentication,
added redirect uri constant to plugin