Hide Sidebar in OAuth login page

We are creating a mobile app where the user logs in with OAuth2.

The app redirects the user to a native browser to Jira cloud where he logs in. After logging in he can authorise the app with oauth2. In that case we would like to hide the sidebar or display only the content from our authorise page.

Is there a way to hide the sidebar for a single get request, preferably with a query parameter?

Best regards, Jakob