-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAuth2 Partially Working - Rocket.Chat->G Suite SAML App #90
Comments
Yes that's correct, when using Rocket.Chat as authentication provider, you need to be first logged into Rocket.Chat fist. If you would like to use Google login directly with Wekan, there are these alternatives:
|
To get any debug logs, you first need to do:
|
Just so we definitely understand one another, I've edited to update my first gif (I hadn't noticed that I was recording just the chrome tab, so missed the pop-up login box!)... Still nothing in sudo snap logs wekan.wekan... Tim |
...and tried again with first gif - apologies! |
I still don't really know what I'm doing here but I have found a different behaviour that, I think, demonstrates that there is a problem, either with my config or with how Wekan initiates the oauth2 login to rocket chat. In this gif, I demonstrate two different behaviours. The first is the 'usual' behaviour - login window popup with the url: I click login and nothing much happens. Neither Rocket.Chat or Wekan get logged in (though the upstream SAML IdP logs a successful login attempt). Some logs in Rocket Chat but nothing in Wekan. It's like the login attempt never happened. The second part of the gif shows a different behaviour. When I copy the above link into a new Chrome tab and hit the login button there, Rocket.Chat does get logged in and there are successful looking logs in both Rocket.Chat and Wekan finishing with:
I still have to hit oidc login again in Wekan to get logged in though... :-) |
Hi there,
I've been trying to get this working for a while and have gotten a little closer since update to OAuth2 docs in Wiki - thanks! I have Rocket.Chat authenticating with Google's G Suite using SAML.
Currently, I can get logged in to Wekan via the 'Sign in with Oidc' button only if I'm already logged into Rocket.Chat. If I'm not yet logged in, it looks as though nothing happens. However, a 'successful' login is registered both in the Rocket.Chat logs and in the Google Admin Console. There is no interesting output from "sudo snap logs wekan.wekan"...
See below:
Doesn't 'do anything'
..but if I log in to Rocket.Chat first...
...Wekan logs in fine.
Any ideas? :-)
Thanks again,
Tim
The text was updated successfully, but these errors were encountered: