Guide for Google Oath Flow in Open WebUi Tools #50
arabenjamin
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi ! (I really love Open WebUi by the way....)
I'm running Open Webui in docker. I'm trying to integrate my Google calendar into a Open WebUi Tool. I am not trying to setup Oath to login to Open WebUi.
I am, however, having trouble getting authenticated via Oauth using Google Calendar Apis. I can get this to run on my machine locally without any issue. Either configuring the my Google Oath client to be a web app, or a desktop app. I can handle Oath on my local machine, I'm confident that I understand how the authentication process should work. I've implemented it in the past for work many times.
Although, when running it as a Tool in Open WebUi, the authentication flow gets hung up when the flow wants to either open a browser tab, ( for you to grant access to your Google account ) but fails to do so without any real error log I can find. Or when I try to just display the auth URL ( which I can get the Tool to emit the auth link to the front end chat window for the user to click ), I can follow that link, and attempt to sign in via Google, but then everything hangs up and I have to restart the container. For some reason the authentication flow doesn't resolve, and I cant see what failed. I suspect I'm not setting the callback url correctly within the Docker container running Open WebUi or something, but I'm not sure.
I'm not seeing anyone else with this issue, and where I have mostly borrowed from @pahautelman, in this repo to get myself going, I'm not able to find much documentation on how I might resolve this within Open WebUi, or the Google results.
If any one could help point me in the right direction, that would be awesome!
Respectfully, Party on.
@arabenjamin
Beta Was this translation helpful? Give feedback.
All reactions