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 cloud login #205

Merged
merged 8 commits into from
Dec 29, 2022
Merged

oauth2 cloud login #205

merged 8 commits into from
Dec 29, 2022

Conversation

simlay
Copy link
Contributor

@simlay simlay commented Dec 21, 2022

Closes #201.

@@ -114,6 +122,29 @@ impl CloudClient {
creds.try_save(&self.credentials_path)?;
Ok(())
}

pub async fn download_profile(&mut self) -> Result<FluvioConfig, CloudLoginError> {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's try to move this to anyhow. it's a much simpler pattern

@simlay simlay changed the title [WIP] oauth2 cloud login oauth2 cloud login Dec 29, 2022
@simlay simlay merged commit 0572859 into infinyon:main Dec 29, 2022
@simlay simlay deleted the add-cloud-login-flow branch December 29, 2022 21:57
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.

Support fluvio-cloud login with oauth flow
2 participants