# Connecting Frontend to the IC.
____
## there are two way to solve this
* one: is to use ic_cdk::call
* Second: is the following way. ...
`authClient.getIdentity()` return` empty object like this "{}"?
https://github.com/aliscie/autodox-tauri/blob/094d12856ecfbe68a6bc3e29c27ebe8a1d7ec18c/frontend/src/app_components/identify.js#L11
I am trying to call it here and it is expected to open a new window
https://github.com/aliscie/autodox-tauri/blob/094d12856ecfbe68a6bc3e29c27ebe8a1d7ec18c/frontend/src/app_components/title_avatar_component.rs#L42
Also,
When I click login in the webpage it should open new tab but on the desktop it should open new window, also after done the window should be automatically closed.
https://github.com/aliscie/autodox-tauri/blob/094d12856ecfbe68a6bc3e29c27ebe8a1d7ec18c/frontend/src/app_components/title_avatar_component.rs#L38