Mine põhisisu juurde

SSO seadistamine & kasutamine (Google & Microsoft Entra)

Värskendatud üle nädala tagasi

Wemply toetab Single Sign-On (SSO) lahendusi läbi OpenID Connect (OIDC) protokolli.

Wemply poolel on vajalik sisestada Seadista -> Seaded -> SSO seaded:

  • Authority URL

  • Client ID

  • Client Secret

Allpool juhised, kuidas need Google & Microsoft Entra puhul genereerida:


A) SSO seadistamine Google Workspace’i kasutajatele

1. Loo projekt (või kasuta olemasolevat) Google Cloud Console’is

  1. Vajuta üleval Select project → New project

  2. Pane projektile nimi (nt Wemply SSO)

  3. Create


2. Luba vajalik API

  1. Mine APIs & Services → Library

  2. Otsi: Google Identity Services

  3. Veendu, et OAuth 2.0 teenused oleks lubatud


3. Seadista OAuth Consent Screen

  1. Mine APIs & Services → OAuth consent screen

  2. Vali:

    • Internal

  3. Täida:

    • App name: Wemply

    • User support email

    • Developer contact email

  4. Salvesta


4. Loo OAuth Client ID

  1. Mine APIs & Services → Credentials

  2. Vajuta Create Credentials → OAuth Client ID

  3. Application type: Web application

  4. Lisa:

Authorized redirect URI:

https://[teie-wemply-domeen].wemply.com/auth.html
  1. Create

Google kuvab:

  • Client ID

  • Client Secret


5. Sisesta Wemplys

Wemply SSO seadistusse sisesta:

Authority URL:

https://accounts.google.com

Client ID: (Google’ist saadud)
Client Secret: (Google’ist saadud)


B) SSO seadistamine Microsoft Entra ID (endine Azure AD)

1. Ava Microsoft Entra Admin Center

Logi sisse administraatorina.


2. Registreeri uus rakendus

  1. Mine Applications → App registrations

  2. Vajuta New registration

  3. Name: Wemply SSO

  4. Supported account types (NB! Alati see valida):

    • Single tenant / Accounts in this organizational directory only

  5. Redirect URI:

    • Type: Web

    • URI:

https://[teie-wemply-domeen].wemply.com/auth.html

6. Register


3. Leia vajalikud andmed

Pärast registreerimist näed:

  • Application (client) ID → see on Client ID

  • Directory (tenant) ID → vajalik Authority URL jaoks


4. Loo Client Secret

  1. Mine Certificates & secrets

  2. Vajuta New client secret

  3. Lisa kirjeldus

  4. Create

⚠️ Kopeeri secret kohe – hiljem seda enam ei näe.


5. Authority URL Microsofti puhul

Authority URL formaat:

https://login.microsoftonline.com/{tenant-id}/v2.0

Näiteks:

https://login.microsoftonline.com/12345678-xxxx-xxxx-xxxx-xxxxxxxxxxxx/v2.0

6. Sisesta Wemplys

Wemply SSO seadistusse sisesta:

  • Authority URL (koos tenant ID-ga)

  • Client ID

  • Client Secret


Testimine

Pärast seadistamist:

  1. Salvesta seadistus Wemplys

  2. Logi välja

  3. Vali „Sisene (SSO)”

  4. Kontrolli, et:

    • kasutaja email vastab organisatsiooni domeenile

    • sisselogimine suunab õigesse tenantisse ning saad sisse logitud

Kas see vastas teie küsimusele?