Skip to content

Commit

Permalink
Remove OIDC from code (#5233)
Browse files Browse the repository at this point in the history
* Reject OIDC design

Out of scope.

* Remove OIDC

* Remove OIDC APIs

* Remove OIDC + OAuth2 from code

* Restore removed lakectl

* [lint] Remove unused

* Restore OIDC token handling

Interpret OIDC claims that an _external_ auth service may set on the
browser.

* Restore OIDC auth to OpenAPI
  • Loading branch information
arielshaqed authored Feb 20, 2023
1 parent 8c8c304 commit 5a3e2db
Show file tree
Hide file tree
Showing 30 changed files with 17 additions and 823 deletions.
24 changes: 1 addition & 23 deletions api/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ components:
type: apiKey
in: cookie
name: oidc_auth_session

parameters:
PaginationPrefix:
in: query
Expand Down Expand Up @@ -688,14 +689,6 @@ components:
enum: [initialized, not_initialized, comm_prefs_done]
login_config:
$ref: "#/components/schemas/LoginConfig"
oidc_enabled:
deprecated: true
type: boolean
description: "Deprecated: embedded OIDC support is now deprecated"
oidc_default_login:
deprecated: true
type: boolean
description: "Deprecated: embedded OIDC support is now deprecated"
AccessKeyCredentials:
type: object
properties:
Expand Down Expand Up @@ -1379,21 +1372,6 @@ paths:
schema:
$ref: "#/components/schemas/CurrentUser"

/oidc/callback:
get:
deprecated: true
description: "Deprecated: embedded OIDC support is now deprecated"
tags:
- auth
operationId: oauthCallback
security: []
responses:
302:
description: successfully got token
401:
description: failed to exchange authorization code for token
default:
$ref: "#/components/responses/ServerError"
/auth/login:
post:
tags:
Expand Down
1 change: 0 additions & 1 deletion clients/java/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 0 additions & 32 deletions clients/java/api/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

61 changes: 0 additions & 61 deletions clients/java/docs/AuthApi.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions clients/java/docs/SetupState.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

119 changes: 0 additions & 119 deletions clients/java/src/main/java/io/lakefs/clients/api/AuthApi.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5a3e2db

Please sign in to comment.