summaryrefslogtreecommitdiffstats
path: root/core/Controller/ClientFlowLoginV2Controller.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(client-login-flow): Use correct response for missing state tokenChristoph Wurst2023-02-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(client-login-flow): Handle missing stateToken gracefullyChristoph Wurst2023-02-061-3/+26
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* feat(app-framework): Add UseSession attribute to replace annotationChristoph Wurst2023-01-271-4/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix GH-33187Daniel Kesselberg2022-12-121-1/+1
| | | | | | $this->userId is null when loggedin via app password. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Revert unrelated change from #34940Carl Schwan2022-12-021-1/+1
| | | | | | | Probably a left over from an experience that I added by mistake in the change Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add mastodon personal info fieldCarl Schwan2022-11-211-1/+1
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update core to PHP 7.4 standardCarl Schwan2022-05-201-16/+8
| | | | | | | - Typed properties - Port to LoggerInterface Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Show user account on grant loginflow stepJoas Schilling2022-05-131-0/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #29531 from nextcloud/bugfix/noid/flow-auth-v2-apptokenJohn Molakvoæ2021-12-301-0/+46
|\
| * Allow using an app token to login with v2 flow authJulius Härtl2021-12-031-0/+46
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Also pass user on flow v2 landingJulius Härtl2021-12-291-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Pass username prefill through unauthenticated request redirectsJulius Härtl2021-12-291-1/+2
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make magic strings of ClientFlowLogin and v2 publicly availableJoas Schilling2020-07-171-9/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-5/+4
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use elseif instead of else ifChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Login flow V2Roeland Jago Douma2019-02-251-0/+299
This adds the new login flow. The desktop client will open up a browser and poll a returned endpoint at regular intervals to check if the flow is done. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>