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

Add notifications on auth button #68

Merged
merged 2 commits into from
Feb 21, 2024
Merged

Conversation

petrvecera
Copy link
Member

add info so you can copy the url into the browser

image

@@ -96,7 +96,8 @@ async fn authenticate<R: Runtime>(handle: AppHandle<R>) -> Result<()> {
*state.request.lock().await = Some(request);

info!("redirecting to auth URL: {auth_url}");
open(&handle.shell_scope(), auth_url, None).map_err(Shell)
open(&handle.shell_scope(), auth_url.clone(), None).map_err(Shell);
Ok(auth_url.to_string())
Copy link
Member Author

Choose a reason for hiding this comment

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

@ryantaylor is this OK? I still don't have idea what am I doing in the Rust 😆

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yeah that looks good to me!

@petrvecera petrvecera merged commit 31ef303 into master Feb 21, 2024
2 checks passed
@petrvecera petrvecera deleted the add-notification-auth branch February 21, 2024 16:35
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