Skip to content
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

Split the path for accepting a sharing #4503

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

nono
Copy link
Member

@nono nono commented Dec 12, 2024

When a user has received an email for a sharing, they can go to the preview page. From here, there are two possibilities for accepting the sharing: just creating a shortcut, or the full synchronization.

Before this commit, the user was first asked their Cozy URL, and on the OAuth authorize page, they have a checkbox for the synchronize option. Now, the choice is made on the preview page (Drive will add a shortcut=true parameter in the query string on the GET /sharings/:id/discovery endpoint if needed). And if it is just a shortcut, we will skip the OAuth authorize page.

When a user has received an email for a sharing, they can go to the
preview page. From here, there are two possibilities for accepting the
sharing: just creating a shortcut, or the full synchronization.

Before this commit, the user was first asked their Cozy URL, and on the
OAuth authorize page, they have a checkbox for the synchronize option.
Now, the choice is made on the preview page (Drive will add a
`shortcut=true` parameter in the query string on the
`GET /sharings/:id/discovery` endpoint if needed). And if it is just a
shortcut, we will skip the OAuth authorize page.
@nono nono requested review from zatteo and Merkur39 December 12, 2024 16:57
@nono nono requested a review from a team as a code owner December 12, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant