Commit d6660a6
authored
Support
* Add LoginToken support to OpenAPI
- OpenAPI support
- Login tokens abstraction
- Controller hookup to login tokens abstraction
(This feature is unimplemented in base lakeFS, and only a trivial login
tokens abstraction exists here.)
* Add releaseTokenToMailbox API
This is typically only called by the browser -- but it's still handled as
OpenAPI in the controller.
* Add `lakectl login` client code
* Release token correctly, with usable web page
* make gen
* [lint] Make govet & golanci-lint pass again
* Open browser at login URL
* Update `lakectl help` golden file
* Use RetryClient in lakectl login
Use the same RetryClient type as the rest of lakeFS, only with a different
retry policy - one that retries status code 404. This involves refactoring
getClient... so do that.
* Use different (longer) login retries config
* Explicitly redirect to login page from controller during lakectl login
releaseToken is _not_ part of the UI, and there is no implicit redirection
there from middleware. Instead, redirect there from the controller.
* golangci-lint
* [bug] Copilot fixes: HTTP header issues, nit in doc
* [CR] Limit loginRequestToken length; extract X-Lakefs-Mailbox header
* [CR] Retrieve login URL from config when possible
* [CR] Fix bug: full redirect after login
Authentication changed in #9593. This broke the ability to redirect to a
non-React URL after logging in -- which @Isan-Rivkin discovered broke
`lakectl login`.
Restore the ability to go to the particular route needed under /api/v1.
Checked by re-logging-in.
* [bug] Correctly encode "next" URL
It's a query param that contains "/" and ":" and things - encode it as such!
* [bug] Fix golangci-lint: actually copy URLlakectl login: client, controller stub (#9644)1 parent e39f13b commit d6660a6
File tree
47 files changed
+4120
-91
lines changed- api
- clients
- java
- api
- docs
- src
- main/java/io/lakefs/clients/sdk
- test/java/io/lakefs/clients/sdk
- python
- docs
- lakefs_sdk/api
- test
- rust
- docs
- src/apis
- spark
- cmd
- lakectl/cmd
- lakefs/cmd
- docs/src/reference
- esti/golden
- modules/authentication/factory
- pkg
- api
- authentication
- internalidp
- config
- httputil
- loadtest
- webui/src/pages
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+4120
-91
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3217 | 3217 | | |
3218 | 3218 | | |
3219 | 3219 | | |
| 3220 | + | |
| 3221 | + | |
| 3222 | + | |
| 3223 | + | |
| 3224 | + | |
| 3225 | + | |
| 3226 | + | |
| 3227 | + | |
| 3228 | + | |
| 3229 | + | |
| 3230 | + | |
| 3231 | + | |
| 3232 | + | |
| 3233 | + | |
| 3234 | + | |
| 3235 | + | |
| 3236 | + | |
| 3237 | + | |
| 3238 | + | |
| 3239 | + | |
| 3240 | + | |
| 3241 | + | |
| 3242 | + | |
| 3243 | + | |
| 3244 | + | |
| 3245 | + | |
| 3246 | + | |
| 3247 | + | |
| 3248 | + | |
| 3249 | + | |
| 3250 | + | |
| 3251 | + | |
| 3252 | + | |
| 3253 | + | |
| 3254 | + | |
| 3255 | + | |
| 3256 | + | |
| 3257 | + | |
| 3258 | + | |
| 3259 | + | |
| 3260 | + | |
| 3261 | + | |
| 3262 | + | |
| 3263 | + | |
| 3264 | + | |
| 3265 | + | |
| 3266 | + | |
| 3267 | + | |
| 3268 | + | |
| 3269 | + | |
| 3270 | + | |
| 3271 | + | |
| 3272 | + | |
| 3273 | + | |
| 3274 | + | |
| 3275 | + | |
| 3276 | + | |
| 3277 | + | |
| 3278 | + | |
| 3279 | + | |
| 3280 | + | |
| 3281 | + | |
| 3282 | + | |
| 3283 | + | |
| 3284 | + | |
| 3285 | + | |
| 3286 | + | |
| 3287 | + | |
| 3288 | + | |
| 3289 | + | |
| 3290 | + | |
| 3291 | + | |
| 3292 | + | |
| 3293 | + | |
| 3294 | + | |
| 3295 | + | |
| 3296 | + | |
| 3297 | + | |
| 3298 | + | |
| 3299 | + | |
| 3300 | + | |
| 3301 | + | |
| 3302 | + | |
| 3303 | + | |
| 3304 | + | |
| 3305 | + | |
| 3306 | + | |
| 3307 | + | |
| 3308 | + | |
| 3309 | + | |
| 3310 | + | |
| 3311 | + | |
| 3312 | + | |
| 3313 | + | |
| 3314 | + | |
| 3315 | + | |
| 3316 | + | |
3220 | 3317 | | |
3221 | 3318 | | |
3222 | 3319 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments