Skip to content

"usecallback" endpoint requires Google Account even do App script deployed to Anyone #536

@Zogoo

Description

@Zogoo

Issue

I used the sample app from the repo
https://github.com/googleworkspace/apps-script-oauth2/tree/main/samples/WebApp
Deployed with a config that "my user" is the executor and published to "Anyone".

I removed the code that the email getter from the Session.

And it's working without any issues with my active Google account session. But when I try with a browser that doesn't have a Google account's active session usercallback endpoint is redirecting to the Google Login page as follows.

Image

Expected behaviour

If the App Script is deployed to "Anyone", the usercallback endpoint must not check the Google Account.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions