PowerServer 2021: Integrating Third Party Authentication
summary
PowerServer exposes REST APIs using a built‑in JWT server or OAuth server, or by delegating to Amazon Cognito or Microsoft Azure AD; runtime settings require rest client and compression or OAuth2 support and enabling BeginSessionByCode so sessions start from the client. Code stores token expiry and a clock skew buffer, refreshes tokens via a timer, and writes auth values (client id/secret, pool/tenant IDs) into authentication.json. Notes: Cognito needs SSO/IAM setup; Azure AD is called directly; watch self‑signed certs, localhost/fiddler issues, and tilde characters in secrets.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 0:31Agenda
- 1:27JSON Web Tokens
- 6:13Sample Code
- 12:42StartSession
- 18:14Authentication Extension File
- 20:29JSON Web Token
- 23:39OAuth
- 24:57OAuth Code
- 27:15OAuth Demo
- 30:00Amazon Cognito Demo
- 32:22Amazon Web Services
- 33:34Create an Organization
- 36:24Create a User Pool
- 43:22Cognito
- 45:48Azure AD
- 52:53Run Times
- 54:45Code
- 57:01CSharp
- 58:11Demo
related talks
39mSecuring your apps with OAuth2 and OpenID Connect
58mLet's talk Auth
01h 02mModern Authentication
41mEasy-Auth: The Easiest Way to Secure Your Application in Azure App Service
54mSecuring Web Applications and APIs with ASP.NET Core 2.2 and 3.0
01h 06mPractical Auth in a Serverless World
58m“OAuth 2.1” and beyond
50m.NET Rocks Live
