google / google/adk-web

Generate a link for google oauth for user to authenticate on adkweb ui

Open
#110 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1k
Forks
267
Avg merge
1d 12h
Merged PRs (30d)
9

Description

Hi, I need to prompt user to click on a google oauth link to authenticate so that the client token can be captured for sending email using gmail.

i used chatgpt which helped generate this code but i don't get any link on ADK Web UI.

return {
"type": "action",
"action": {
"type": "open_url",
"url": auth_url_with_state,
"label": f"Authorize sending email to {recipient_email}"
},
"message": (
f"I am ready to send the email to **{recipient_email}**.\n"
f"Please click the button above to authorize."
)
}

I also have a method oauth2callback for returnURL.

any suggestions?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.