-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Rocket Chat Authentication Instructions? #2572
Comments
Has anyone got this working at all? |
Have you looked at these docs https://docs.rocket.chat/guides/administrator-guides/authentication Also check in the wiki code, it has an auth file that breaks down the strategy. I belive it's OAuth |
Hi - Yes, that all refers to authenticating Rocket from another site. Not authenticating other sites from Rocket.
…On 27 Oct 2020, 19:57 +0000, rychergates ***@***.***>, wrote:
Have you looked at these docs https://docs.rocket.chat/guides/administrator-guides/authentication
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Has Anyone managed to get Rocket Chat Authentication working? If so could you please share how you set it up? |
I have the exact same issue. I wanted to debug this further, but I can't find any method to increase the log level. I found no docs about some log level environment variable and mounting What I found was, that the request to Wiki.js's auth callback url returns a HTTP 500. |
Okay, I digged into this a little and found the following: Wiki.js's oAuth module requests to Rocket.Chat API via This could be the reason of the error because then the This should be a small fix. I will try to setup a dev environment for Wiki.js in the next days and send a PR if my findings are true. Edit: wording |
Also, @HiveMindNet's questions seem not to be answered yet.
I can't really answer the iFrame part, but there is an iFrame guide for Rocket.Chat. Maybe it helps: https://docs.rocket.chat/guides/developer/iframe-integration |
Thanks @deg0nz - I don't need help with iFrame - that's all been working for ages; I just added for info purposes. The real question as you say still stands. Where to set or get the 'Client ID' and 'Client Secret' from. |
On another forum, guys on there were saying that Rocket has no way of providing authentication services as a server. Which sounds like it contradicts the very purpose of this Wiki authentication strategy. |
Okay, as I assumed, the problem was the I'm using Rocket.Chat 3.11.1 @HiveMindNet answers to your questions as follows:
This is a little bit counter intuitive... Here is how you access the needed credentials in Rocket.Chat:Create new OAuth Application in Rocket.Chat via Administration -> OAuth Apps After that, you can access the created OAuth Application and read out
Add the credentials to the corresponding fields in Wiki.js configuration. Until PR #3122 is merged, you will get the error mentioned by @erikvanberkum though... Edit: wording for more clarity and typos |
Thanks to @deg0nz and @erikvanberkum - I was so excited to see this progress today but then I tried and I don't think this has fixed the issue for me. I made the changes in the PR on Wiki.js but it's still failing with the following; I'm not sure about what to expect if I simply add the rocket myaddress.com/oauth/token url to a browser - maybe it's expecting something or maybe that's my issue as I get 'Internal Server Error' on that URL :( Does this look like it could be on the Rocket end now for me? Or are we still having problems with this Wiki auth? I double checked all were enabled on rocket and wiki and it goes as far as having rocket ask to grant permission to Wiki.js - it's after I grant the permission that I get this fail to obtain the access token. Again, any help is very much appreciated :) |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Question
Trying to use the Rocket Chat auth but no documentation anywhere to help me test i.
Host Info (please complete the following information):
OS: Latest Docker
Wiki.js version: 2.5.159
Database engine: Latest Docker PG_VERSION 11.8
Can someone please either point bee to some docs or help me understand where I get or set up the 'Client ID' and 'Client Secret' in my Rocket admin? Also, will this integration still work if I'm actually using iFrame auth on my Rocket instance? (Rocket authenticates from our other main website).
Any pointers or docs would be greatly appreciated :)
Thank you in advance.
The text was updated successfully, but these errors were encountered: