
Watch a presentation video on Okta that explains OAuth 2.0 and OpenID Connect (OIDC) within identity and access management.
Learn the essentials of OAuth 2.0 and OpenID Connect with Okta, including the authorization flow and core identity concepts explained by an experienced instructor.
Define OAuth 2.0 and OIDC, clarify authentication versus authorization, and explain key concepts like IdP, relying party, resource owner, client, and common endpoints such as authorize and token.
Trace the origin of OAuth from 2008, uncover why trust and security drove OAuth 2.0 to support non-web clients, and replace password sharing with secure delegated access.
Use a flowchart to choose the right OAuth 2.0 and OIDC flows (authorization code flow, implicit, client credentials, resource owner password), based on public versus native clients.
Demonstrate the authorization code flow for server-side apps, using a client secret and user authentication via browser redirects, exchanging an authorization code for access and refresh tokens.
Understand the authorization code flow: redirect to the provider for user consent, exchange the code for an access token, and use it to access user info and create an account.
Demonstrates the authorization code flow with Okta, guiding app integration and authorization code retrieval with postman. Exchange the code at the token endpoint for an access token.
Demonstrates a shorter authorization code flow, configuring the authorization and token endpoints, client id and secret, scope and state, and exchanging the code for an access token.
Understand the authorization code grant through an airport analogy, showing how a client exchanges an authorization code for an access token from the authorization server to access a protected resource.
Explore the authorization code flow with pkce, detailing how a code verifier and code challenge secure the process for mobile and web apps, culminating in access token retrieval.
Explore how PKCE extends the authorization code flow to prevent authorization code injection and protect mobile apps, detailing code challenges, code verifiers, and the authorization code to token exchange.
This lecture explains the authorization code flow and how PKCE adds a transformation method to protect against code interception, ensuring the client presents a secret to obtain an access token.
Explain the oauth 2.0 implicit flow for apps where the client secret cannot be guaranteed, detailing the client access token request, authorization endpoint, redirection, and access token response.
Explain why implicit flow is insecure and outdated, show token leakage via the URL, and recommend using the authorization code flow with PKCE for secure OAuth 2.0 and OIDC.
Explore the implicit flow by returning tokens directly from the authorization endpoint, with a nonce and OpenID scope, demonstrating token types, URL delivery, and its limitations for non-internal clients.
Understand the implicit flow by comparing it to the authorization code flow, where the access token is issued directly, highlighting token theft risks and the need for PKCE.
Explore the client credentials flow chart as a machine-to-machine pattern with server-side confidential clients, including token requests to /token and access tokens used by the resource server.
Learn the client credentials flow for confidential servers, a server-to-server grant with no user, not for native or browser apps, using the token endpoint with optional scopes.
Explore the device authorization flow in OAuth 2.0 and OpenID Connect, detailing device code and user code exchanges, verification URLs, browser-based user authorization, and use for input-constrained devices.
Understand the device authorization flow theory for input-constrained devices like smart TVs, where a second device authenticates via a QR code or URL, enabling two-device login.
Illustrate the resource owner password flow in OAuth 2.0, where the client exchanges user credentials for an access token (and optional refresh token) to access the resource server.
Explain the resource owner password flow, where the client uses user credentials and its risks, especially for mobile apps; note in-app login windows add security.
Explore the hybrid flow, which blends code and token approaches from authorization code and implicit flows to support apps needing user data and pre-processing.
Explore hybrid flows through three demonstrations and clear theory, combining authorization code and id token results with code and token exchanges at the authorization and token endpoints.
Hi! I am a Former Okta Certified Consultant and I have carefully designed this course for you to get to know the aspects of OIDC and OAuth 2.0 in a simple and pleasant manner.
Course is intended for anyone out there working with Okta's OIDC Apps or simply interested in this field of OIDC / OAuth 2.0. You frankly don't need much previous information to get started and learn what I am presenting here and definitely no prior programming knowledge is required.
I hope that this course will inspire you more into staying calm and collected when facing technical issues. With some basic best-practices you will get them resolved. This Guide is intended to mimic reality and my aim is to show you that anyone can make mistakes, but also that anyone can overcome them.
You'll get to see:
~ 4 hours of training;
~25 different links to Okta docs and not only that will furthermore detail my presentations;
Some lengthy lectures (to treat almost every aspect of a specific situation), yes, but full of explanations to set you on the right track.
You will:
Learn the aspects of OIDC;
Learn the Oauth 2.0 concept;
Study the Authorization Code Flow
See the additional layer of the Authorization Code Flow with PKCE (Proof Key for Code Exchange)
Develop strong knowledge about Implicit Flows
Learn what's up with Client Credential Flow, Resource Owner Password Flow or even the Device Authorization one
Integrate Hybrid Flows
Have a reference as to what is the SAML 2.0 Assertion Flow
Run Okta APIs - test the OAuth flows directly via APIs;
Understand JWTs (Json Web Tokens);
Understand how to troubleshoot OIDC / OAuth 2.0 and get my recommendations and best practices;