Disabling Login/Logout Screens/Options

Hi there,

I am looking to integrate metabase with my own application. While the POST /api/users, POST /api/session are helping, I would not want the user to login/logout from metabase directly from the UI.

I want the login/logout activity to be controlled by my application.

Kindly let me know if its possible to do this :slight_smile:

1 Like

You can create a session: https://github.com/metabase/metabase/blob/master/docs/api-documentation.md#post-apisession
but you can’t do much with it as far as the UI is concerned, there’s no ability to pass the session id to the UI. I’ve been wanting to do something similar, but just ended up using the regular integration.
The only real solution is to get the source code and modify. It’s on my list, not sure if there are any proper plans though.