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

[web] delegate authenticate outside of the app in embed mode #10072

Closed
12 tasks
LukasHirt opened this issue Nov 27, 2023 · 0 comments · Fixed by #10082
Closed
12 tasks

[web] delegate authenticate outside of the app in embed mode #10072

LukasHirt opened this issue Nov 27, 2023 · 0 comments · Fixed by #10082
Assignees
Labels
Type:Story User Story

Comments

@LukasHirt
Copy link
Collaborator

LukasHirt commented Nov 27, 2023

Description

User Stories

  • As a user, I want to authenticate only once in the main application so that I do not need to authenticate again inside the embed mode

  • As a developer, I want to have an easy solution to disable the authentication flow in the embed mode so that I can provide the token on my own

  • As a developer, I want to have an event that the embed mode will listen to so that I can provide the access token to it

  • As a developer, I want to be able to fire the event via postMessage method so that it works across different origins

Value

  • user is not forced to authenticate twice
  • smooth flow of getting/saving resources from the embed mode

Acceptance Criteria

  • login form is not shown to the user
  • an event listener is created to listen to receive token (and refresh it)
  • when a redirect happens, the embed=true query param is not lost
  • the event to refresh token and config options are documented on owncloud.dev

Definition of ready

  • Everybody needs to understand the value written in the user story
  • Acceptance criteria have to be defined
  • All dependencies of the user story need to be identified
  • Feature should be seen from an end user perspective
  • Story has to be estimated
  • Story points need to be less than 20

Definition of done

  • Functional requirements
    • Functionality described in the user story works
    • Acceptance criteria are fulfilled
  • Quality
    • Code review happened
    • CI is green (that includes new and existing automated tests)
    • Critical code received unit tests by the developer
  • Non-functional requirements
    • No sonar cloud issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Story User Story
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant