Documentation

Social login with your own provider credentials

Let people sign in with Google, Microsoft, GitHub, Apple or another OpenID Connect provider, using clients you register there.

All documentation

Ziqme holds no shared Google, Microsoft, GitHub or Apple keys. You register your application at each provider you want, then enter that client's ID and secret in the admin app. A provider's button appears on the hosted login only after its credentials are saved and it is switched on.

1. Copy the redirect URI

Each provider needs the redirect URI it sends people back to: https://auth.ziqme.com/login/social/app_your_client_id/{provider}/callback, where {provider} is google, microsoft, github, apple or oidc. The admin app shows it under the application's Security tab, in Social login, as soon as you switch the provider on.

2. Register at the provider

ProviderWhereWhat you enter in Auth
GoogleGoogle Cloud console: APIs & Services, Credentials, Create credentials, OAuth client ID, type Web application. Add the redirect URI under Authorized redirect URIs.Client ID and client secret.
MicrosoftMicrosoft Entra admin center: App registrations, New registration, accounts in this organizational directory only, a Web redirect URI. Then Certificates & secrets, New client secret; copy its Value.Client ID, the secret value, and the issuer https://login.microsoftonline.com/{directory id}/v2.0. Client secrets expire: replace them in time.
GitHubGitHub Settings: Developer settings, OAuth Apps, New OAuth App. Put the redirect URI in Authorization callback URL, then generate a client secret.Client ID and client secret.
AppleApple Developer, Certificates, Identifiers & Profiles: an App ID with Sign in with Apple; a Services ID with Sign in with Apple, the domain auth.ziqme.com and the redirect URI as a Return URL; and a key with Sign in with Apple. Download the .p8 key file.The Services ID as client ID, the whole .p8 file as the private key, your Team ID and the Key ID.
Other OpenID ConnectRegister a confidential web client for the authorization code flow, with the redirect URI.Client ID, client secret, the exact HTTPS issuer, and a button label.

3. Save and switch it on

In https://app.ziqme.com/auth-admin, open the application, then Security, then Social login. Switch the provider on, enter the credentials and save. The secret is stored encrypted and never shown again; type a new one only to replace it.

Who can sign in

  • People are matched by the email address the provider has verified, inside your workspace, and by nothing else. Nobody is created by a social sign-in: the person needs an account already, by invitation, import, SSO, SCIM or self-registration.
  • Microsoft sign-in is limited to the one directory in the issuer. Personal Microsoft accounts and the shared common, organizations and consumers authorities are not accepted.
  • A second factor the person enrolled is still asked for.

Sign in with Apple

  • Auth signs the client secret Apple asks for with your .p8 key, freshly for every sign-in, so there is no six-month secret to renew. The key is stored encrypted and never shown again.
  • Apple answers with a form post to the redirect URI. Apple sends the person's name only on their first sign-in and does not sign it, so Auth ignores it: the account keeps its own name.
  • A person who chose Hide My Email signs in with their @privaterelay.appleid.com address, which matches only an account created with that address.