nextcloud / nextcloud/server

[Auth Flow] Restricted app tokens while logging in

Open
#9,117 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop client: 💻 desktop client: 🤖🍏 mobile enhancement feature: authentication
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Allow applications to only request an restricted app token (without file-access) for applications like Talk or Groupware-integrations which do not need file-access.

We may want to consider to give the user the permission to edit this permissions already while logging in, but I think this makes less sense, because using Nextcloud Files-app without Files-access e.g. does not work at all (for good reasons 😅).

With this introduced, we should emphasize in the login flow, that all apps, which login without restrictions can view/edit/remove all your files in a way without making the user fear to much.

Facebook (example):

bildschirmfoto 2018-04-07 um 12 10 59

As discussed with @rullzer

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the login flow and application-token handling; the issue names no files or tests, so trace those entry points first. Done means applications can request tokens without file access and the login flow clearly communicates the permissions granted to unrestricted applications.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, authorization, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.