0Pricing
OAuth2 & OpenID Connect Deep Dive · Ders

Uygulamalar Arasında Tek Oturum Açma

OAuth2 ve OpenID Connect’in Tek Oturum Açma özelliğini nasıl sağladığını; kullanıcıların bir kez kimlik doğrulayıp birden fazla uygulamaya sorunsuzca erişmesini öğrenin.

Uygulamalar Arasında Tek Oturum Açma, CoddyKit'te ücretsiz bir OAuth2 & OpenID Connect Deep Dive dersidir. Bu, 4 dersinin 4. dersidir. Aşağıdan dersin tamamını ücretsiz okuyabilir, sonra tarayıcıda yerleşik kod editörü ve 7/24 yapay zeka koçu ile uygulamalı olarak pratik yapabilirsin. Bu, OAuth2 & OpenID Connect Deep Dive öğrenme yolunun bir parçasıdır ve ilerlemeniz web ve CoddyKit uygulaması arasında senkronize olur. OAuth2 & OpenID Connect Deep Dive kursu toplamda 4 dersten oluşur.

Bu dersin bazı bölümleri henüz çevrilmemiş olup İngilizce olarak gösterilmektedir.

What Is SSO?

Single Sign-On lets a user authenticate once with a central identity provider and then access many applications without logging in again. OpenID Connect is the modern foundation for web and mobile SSO.

The Central Session

The magic lives at the OpenID Provider (OP). When the user logs in, the OP establishes its own session (often a cookie). Each app relies on that central session rather than maintaining its own credentials.

First App Login

App A redirects the user to the OP's /authorize endpoint. The user enters credentials, the OP sets its session cookie, and returns an authorization code to App A, which exchanges it for tokens.

Second App: Silent Login

Later the user opens App B, which also redirects to /authorize. Because the OP session cookie already exists, the OP recognizes the user and returns a code without prompting for credentials again. That is the SSO experience.

prompt=none

To check silently whether a session exists, apps can use prompt=none. The OP either returns a code immediately or an error like login_required if no session is present.

GET /authorize?response_type=code
  &client_id=appB&scope=openid
  &redirect_uri=https://b.example.com/cb
  &prompt=none

Forcing Re-authentication

Conversely, sensitive operations can require a fresh login with prompt=login or a max_age constraint, overriding the SSO session for that request.

Identity Provider Federation

The OP itself may federate to upstream providers (corporate IdP, Google, social logins). To the apps it still looks like one OP, but the OP brokers authentication to the chosen source. This centralizes policy and simplifies clients.

Single Logout

SSO needs Single Logout too: when the user signs out of one app, related sessions should end. OIDC offers front-channel and back-channel logout to notify participating apps and clear the central session.

Session Token Lifetimes

Balance convenience and security: short access tokens with refresh tokens for ongoing access, and an OP session lifetime that matches your risk tolerance. Long SSO sessions are convenient but widen the impact of a compromised device.

Native and Mobile SSO

On mobile, SSO uses the system browser (ASWebAuthenticationSession / Custom Tabs) so the OP cookie is shared across apps. Embedded WebViews break SSO and are discouraged for security and usability reasons.

Benefits and Risks

SSO improves UX, centralizes MFA and auditing, and reduces password fatigue. The trade-off: the OP becomes a high-value target, so it must be hardened, monitored, and protected with strong authentication.

Quick Check

Test your SSO understanding.

Recap

Single Sign-On centralizes authentication at the OpenID Provider.

  • The OP session lets subsequent apps log in silently.
  • prompt=none checks for a session; prompt=login/max_age force re-auth.
  • Single Logout coordinates ending sessions across apps.
  • Use the system browser, not embedded WebViews, for mobile SSO.

Sıkça Sorulan Sorular

“Uygulamalar Arasında Tek Oturum Açma” dersi ücretsiz mi?

Evet — “Uygulamalar Arasında Tek Oturum Açma” dersin tüm metni burada web'de ücretsiz olarak okunabilir. Etkileşimli olarak pratik yapmak (yerleşik kod editörü ve 7/24 yapay zeka koçu) ve OAuth2 & OpenID Connect Deep Dive kursunun geri kalanını açmak için CoddyKit PRO'ya yükselt. OAuth2 & OpenID Connect Deep Dive kursu toplamda 4 dersten oluşur.

“Uygulamalar Arasında Tek Oturum Açma” dersinde ne öğreneceğim?

OAuth2 ve OpenID Connect’in Tek Oturum Açma özelliğini nasıl sağladığını; kullanıcıların bir kez kimlik doğrulayıp birden fazla uygulamaya sorunsuzca erişmesini öğrenin. OAuth2 & OpenID Connect Deep Dive ile uygulamalı kodu tarayıcıda doğrudan çalıştırarak pratik yaparsın ve 7/24 yapay zeka koçu dersi çalışırken sorularını yanıtlar.

OAuth2 & OpenID Connect Deep Dive öğrenmeye başlamak için deneyim gerekli mi?

Önceden deneyim gerekmez. CoddyKit'te OAuth2 & OpenID Connect Deep Dive, başlangıçtan ileri seviyeye kadar yapılandırıldığı için buradan başlayabilir veya başından başlayıp kendi hızında ilerleme yapabilirsin. Bu, 4 dersinin 4. dersidir.

“Uygulamalar Arasında Tek Oturum Açma” dersi ne kadar sürer?

Çoğu CoddyKit dersi yaklaşık 5–10 dakika sürer. Her biri kısa ve etkileşimli olduğu için sabit ilerleme yaparsın ve web ile uygulama arasında tam olarak bıraktığın yerden devam edebilirsin.

Bu OAuth2 & OpenID Connect Deep Dive dersinde kod yazıp çalıştırabilir miyim?

Evet. Her OAuth2 & OpenID Connect Deep Dive dersi yerleşik bir kod editörü içerir, bu sayede tarayıcıda gerçek kod yazıp çalıştırabilir ve anlık yapay zeka geri bildirimi alırsın — yerel kurulum gerekli değildir.

Bu kursun tüm dersleri

  1. Kimlik Sağlayıcılarla Entegrasyon
  2. Mikro Hizmetler ve API Gateway Güvenliği
  3. Çok Faktörlü Kimlik Doğrulama (MFA)
  4. Uygulamalar Arasında Tek Oturum Açma
← OAuth2 & OpenID Connect Deep Dive Sayfasına Dön