Embed app and OAuth

Hi! I have a problem with embed app that uses API query with OAuth2 auth. It works fine inside retool site, but not in embed mode.
Here link for app
It’s not asking credentials for obtaining token.

Weird, let me start looking in to this

@rustem-musairov Are you embedding the app using the public link? Public links don’t support login, and so we aren’t able to store session state which can interfere with authorization. When you embed the app you’ll want to use the /editor/app_name url.

It’s a pity. I’m not interesting in retool authorization I need authorize user in google auth for obtaining google token. Is it impossible with public URI?

Public apps currently do not support custom authentication, for the moment it would need to be an embedded end-user mode app with a retool login.