-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Nextcloud as OAuth 2.0 provider #3599
Comments
Yeah we discussed that also in the past, that we are missing the endpoint where clients can get their app password directly. |
#716 is similar but not specific to OAuth. |
Interesting feature. Is someone else interested in it? I'd do some development for it, but don't know how. Haven't worked with the source of nextcloud yet. I'd start with an app for the feature, instead of extending the core. |
I'd be interested in this as well. For owncloud I found this app: https://github.com/owncloud/oauth2 But I am not sure, if it works all the time. I didn't get it running, but might be my fault. In my context, the client is simply not allowed to store the passwords for nextcloud/owncloud in clear text. So we have no choice to connect to nextcloud without OAuth or any similar mechanisms. |
Isn't this implemented in #4704 (https://github.com/nextcloud/server/tree/master/apps/oauth2)? |
@LEDfan I am pretty sure this is for using other OAuth2 providers to login in to nextcloud. |
The description of apps/oauth2 says it is for |
I looked at the code, and it should work. Is it something in the priority for Nextcloud? Thanks for the feedback! |
Closing in favor of #5694 |
I made a personnalise oauth in nextcloud and configure oauth provider in nextcloud for rocketchat instance. My problem is: When try to login with this feature in rocketchat, i have a popup with nextcloud login, and then the popup load the nextcloud app inside... No redirection to the chat... Maybe I misconfigure the personalise oauth client in rocket, @pierreozoux can you help me ? |
@pokapow did you find a solution? |
@pokapow could you share your solution? I'm trying to do exactly same thing with no success :( |
It works. I put some settings in RocketChat/Rocket.Chat#7791. |
Steps to reproduce
Expected behaviour
Most somehow-big internet companies, i.e. Dropbox, Google or even Github, support authentication via OAuth 2.0. So I'd expect this: If you want to set up a client, you just enter the Nextcloud url (and maybe username) and are then presented with the Nextcloud instance, where you choose which data you want to share (Files, Contacts, ..., 3rd party apps with api) with the client.
Actual behaviour
Users have to provide their password directly to the used client. This creates two main problems:
Of course, users can already use an application password, but it's really unhandy to get there, especially for inexperienced users; they might not even know it. It is still good for older clients and so on, but the main way users should be able to go is by OAuth 2.0.
The text was updated successfully, but these errors were encountered: