{#if enabled}
{#if name == 'microsoft'} {:else if login} {/if} {#if name == 'google'}
Create a new OAuth 2.0 Client in Google console and set the redirect URI to BASE_URL/user/login_callback/google where BASE_URL is what you configured as core BASE_URL
{:else if name == 'slack'}
Create a new App in Slack API Console. Pick "From an app manifest", then YAML and paste manifest template found on Windmill Docs and then paste Client ID and Client Secret here.
{:else if name == 'microsoft'}
Create a new OAuth 2.0 Client in Microsoft portal "Add" {'->'} "App Registration" -> "Accounts in this organizational directory only (Default Directory only - Single tenant)", and in the "Authentication" tab, set the redirect URI to Web and BASE_URL/user/login_callback/microsoft. Then copy the "Directory (tenant ID)" in the tenant ID field. Then copy the Client ID from "Application (client) ID" and create a secret in "Client credentials". Last, include "Sign in" and "read user profile" under "Delegated Permissions".
{/if}
{/if}