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

OAuth2 client: support for Device Code Flow #7899

Merged
merged 1 commit into from Dec 29, 2023

Conversation

adutra
Copy link
Contributor

@adutra adutra commented Dec 28, 2023

Requires #7894

@adutra
Copy link
Contributor Author

adutra commented Dec 28, 2023

Example of Spark SQL session:

spark-sql (default)> use nessie;

[nessie-oauth2-client] ======= Nessie authentication required =======
[nessie-oauth2-client] Browse to the following URL:
[nessie-oauth2-client] http://keycloak:8080/realms/master/device
[nessie-oauth2-client] And enter the code:
[nessie-oauth2-client] LZLB-UQKW
[nessie-oauth2-client] The code will expire at 2023-12-28T21:52:53.682771Z

Time taken: 1.926 seconds
spark-sql ()> create namespace testing;
Time taken: 1.758 seconds
spark-sql ()> 

@adutra adutra changed the title WIP: OAuth2 client: support for Device Code Flow OAuth2 client: support for Device Code Flow Dec 29, 2023
@adutra adutra marked this pull request as ready for review December 29, 2023 14:26
@adutra adutra merged commit 313b0dd into projectnessie:main Dec 29, 2023
17 checks passed
@adutra adutra deleted the device-auth branch December 29, 2023 15:01
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.

None yet

2 participants