---
title: "Google, Microsoft and SSO Login Setup from PLN 999 | VulCode"
description: "Sign in with Google, Microsoft, Apple or company SSO in your app and panel through OAuth 2.0 and OpenID Connect, with access control. From PLN 999, 2-3 days."
url: "https://vulcode.com/en/services/integrations/sso-login"
lang: "en"
---

[Home](https://vulcode.com/en) [Services](https://vulcode.com/en/services) [Integrations](https://vulcode.com/en/services/integrations)

# Sign in with Google, Microsoft and company SSO

VulCode, a software house from Cracow, Poland, implements sign-in with Google, Microsoft, Apple and company SSO compatible with OpenID Connect in apps, panels and stores. The setup costs from PLN 999 (about EUR 220), usually takes 2-3 days, and the free quote comes back within an hour. Users sign in with an account they already have, and you store no more passwords. We tie each account to the provider's stable identifier, not to an email address.

[Free quote](https://vulcode.com/en/quote) [Full pricing](https://vulcode.com/en/services/pricing)

## One standard, many providers

Google, Microsoft, Apple and most company SSO systems speak the same language: OpenID Connect on OAuth 2.0.

So we build one login with swappable providers, not several separate integrations. Another provider is usually configuration, not new code. The differences are in the details: how to tell the user's company, what the stable identifier is and what data arrives only once.

The most common mistake is linking accounts by email. Google says plainly that the email may not be unique and may change, and Microsoft forbids basing permissions on it. We bind the account to the provider's stable identifier.

- **No passwords on your side**: The identity provider handles the password and two-step verification.
- **Guidance from 2025**: RFC 9700 sets out current OAuth 2.0 security best practice.

## How a secure sign-in runs

The flow recommended by RFC 9700: seven steps from clicking the button to being signed in.

**User****Your app****Identity provider**

User → Your app

picks "Sign in with Google"

Your app → Identity provider

a redirect with one-time safeguards

Identity provider → User

sign-in and consent at the provider

Identity provider → Your app

a one-time code to the registered address

Your app → Identity provider

the code exchanged together with the PKCE one-time secret from step 2

Identity provider → Your app

a signed confirmation of who is signing in

Your app → User

signed in once the confirmation is checked

- **An exact return address**: The provider compares the redirect address with the registered one character by character. That closes a whole class of redirect attacks.
- **Access never in the page address**: Access is never issued straight in the redirect, where it could stay in the browser history. That is what current security standards recommend.

## Google, Microsoft and Apple from the integration side

The same standard, different details to handle.

The Apple secret expires after six months at most, so we generate it automatically. Otherwise Apple sign-in stops working on the expiry day.

| Criterion | Google | Microsoft | Apple |
| --- | --- | --- | --- |
| Stable identifier | sub | oid together with tid | sub |
| Restricting to a company | the hd claim with the Workspace domain | the tenant id in the URL and the tid claim | not applicable |
| Who can sign in | Google and Workspace accounts | common, organizations, consumers or one tenant | Apple accounts |
| Name | in the token with the profile scope | in the token, display only | only at first sign-in |
| Client secret | a fixed secret | a secret or certificate | an ES256-signed JWT, valid six months at most |

## What the provider passes to the app account

What arrives from the provider with the sign-in, where it goes and what it is for.

**Identity provider** **App account**

`the user's stable identifier`

`the account-provider link`

the only sign-in key

`the email, with whether it is verified`

`contact address`

verified only, never as a key

`name`

`display name`

Apple sends it once, so it is stored at once

`the company domain or identifier`

`organisation`

assignment to the client company

`provider groups or roles`

`panel permissions`

a mapping agreed with you

We bind the account to the stable identifier of the person and their company, which stays the same even when the email changes. Microsoft recommends the same and advises against basing permissions on the email address.

## Who does what in a rollout

Some steps need your account at the provider. We guide you through them step by step.

You

Us

Identity provider

Everyone

All items by role

- You register the app in the Google, Entra ID or Apple Developer console

- Us sign-in with PKCE, state and nonce

- Identity provider password and two-step verification

- You decide who gets access and with which roles

- Us token verification and account linking

- Identity provider account lock when an employee leaves

- You approve the consent screen users will see

- Us roles, sign-out and an access management panel

- Identity provider signed tokens

## What we watch out for with SSO login

Mistakes in sign-in that lead to account takeover.

- Flow
  ### PKCE on the server too
  We always use PKCE: a one-time secret created at the start of sign-in and checked when the code is exchanged, so a stolen code is useless.

- ### state and nonce
  Two one-time markers tie the return from the provider to this one browser and this one sign-in, so nobody can hijack someone else's sign-in.

- ### Linking accounts only deliberately
  A second provider joins an existing account only after signing in to it, never on email alone.

- ### Access for the company only
  We check the domain or tenant restriction in the token on the server, not in a redirect parameter.

## Login for consumers or SSO for companies

The same technology, different decisions.

### Login for consumers

- A store, app or community where quick sign-up matters.

- Anyone can create an account.

Google and Apple buttons, a regular account as an alternative and account linking in the profile.

### SSO for companies

- A B2B app or panel used by your clients' staff.

- Access must end when someone leaves the company.

Sign-in limited to the company tenant or domain, roles from provider groups and an access panel for the admin.

## Example rollout: Microsoft Entra ID SSO in a B2B panel

Four steps from registering the app to access that expires on its own.

- **Product**: A SaaS panel used by staff of several companies
- **Today**: Separate passwords and manual account removal when staff leave
- **Goal**: Company account sign-in and access that ends by itself

- ### A multi-tenant app
  Registration in Entra ID for work accounts, with each client company a separate organisation in the panel, assigned by tid.

- ### Admin consent
  The client company's admin approves the app once for the whole organisation.

- ### Roles from groups
  Entra ID groups map to panel roles, so the company manages access on its side.

- ### Access ends
  Once the account is blocked at the company, the employee can no longer sign in to the panel.

No passwords in the panel and no manual account removal. The client company manages access.

## Common questions about SSO login

Click a question to see the answer.

**How much does Google, Microsoft or SSO sign-in cost?**

The SSO login integration costs from PLN 999 (about EUR 220). The figure grows with the number of systems, data directions and exceptions to handle. A typical integration takes 2-3 days, and the free quote comes back within an hour. We quote it under our [API and integrations](https://vulcode.com/en/services/api-integrations) service.

**How long does it take?**

Usually 2-3 days. The exact dated schedule comes with the free quote, and if anything is going to move, you know in advance.

**Can you support our company SSO, e.g. Keycloak or Okta?**

Yes, if it supports OpenID Connect, which most company sign-in systems do. Another such provider is usually configuration, not a new integration.

**What about users who already have a password account?**

After signing in with their password they can connect a Google or Microsoft account in their profile and use it from then on.

**Is Discord or Steam login an option too?**

Yes, we cover them separately: [Discord](https://vulcode.com/en/services/integrations/discord) uses OAuth2, and [Steam](https://vulcode.com/en/services/integrations/steam) uses OpenID 2.0.

**Can we let in only our own staff?**

Yes. In Google we limit sign-in to your Google Workspace domain, and in Microsoft to one company in Entra ID. We check it on the server, in the provider's signed confirmation, not in the page address, which can be tampered with.

**Does Apple sign-in need anything special?**

Two things. Apple shares the name only at the first sign-in, so we store it at once. The Apple sign-in key expires after six months at most, so we renew it automatically and sign-in never stops on the expiry day.

**Will the SSO login integration code be mine?**

Yes. Once the work is accepted and paid in full, the economic copyright in the code passes to you. You have access to the repository from the first day, and after acceptance you get it with run instructions. Open source libraries keep their own licences.

**How do you check the sign-in before launch?**

On a test account with the provider. We check the first sign-in, a returning user, a refused consent, an account from outside the company and an expired secret, and only then switch sign-in on in production.

## Sources

Technical details come from provider documentation and IETF standards.

- [RFC 9700: OAuth 2.0 security](https://www.rfc-editor.org/rfc/rfc9700)January 2025

- [Google: OpenID Connect](https://developers.google.com/identity/openid-connect/openid-connect)

- [Microsoft: OpenID Connect](https://learn.microsoft.com/entra/identity-platform/v2-protocols-oidc)

- [Microsoft: validating token claims](https://learn.microsoft.com/entra/identity-platform/claims-validation)

- [Apple: Sign in with Apple](https://developer.apple.com/documentation/signinwithapple/authenticating-users-with-sign-in-with-apple)

- [Apple: client secret](https://developer.apple.com/documentation/accountorganizationaldatasharing/creating-a-client-secret)

## Related pages

Where SSO login is used most often.

- [**Panels and dashboards** A custom client or admin panel.](https://vulcode.com/en/services/client-portals-and-crm)

- [**Web apps and PWAs** Web apps and PWAs.](https://vulcode.com/en/services/web-apps)

- [**Discord** Discord login and roles.](https://vulcode.com/en/services/integrations/discord)

- [**Integrations and automation** API integrations and custom APIs in REST or GraphQL, with OpenAPI docs.](https://vulcode.com/en/services/api-integrations)

## Describe your project.

A free quote comes back within an hour during working hours.

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)

## More on this in our blog

- [Roles and permissions in a business panel: who sees what and who changes what Broken access control sits at number one in the OWASP Top 10:2025, and every application tested showed some form of it. We show how we settle roles in a business panel and how we check that nobody sees data that is not theirs.](https://vulcode.com/en/blog/roles-and-permissions-business-panel)
