Implement OAuth 2.0 Authorization Code flow using authlib in python flask web apps | Single Sign On

Опубликовано: 16 Май 2023
на канале: Learning Software
7 тыс
10

Blog post -

OAuth 2.0 Authorization Code flow explained -
Introduction to OAuth 2.0 -
Setup Keycloak as OAuth 2.0 server in Windows for development and testing -
Client credentials flow and JWT explained -

In this video, we will learn how create a python flask web application that uses OAuth 2.0 Authorization code flow to authenticate and authorize users. We will use keycloak as a OAuth server in this example.

Table of contents -

Please subscribe, like and share this video

00:00 - Intro
00:42 - About OAuth 2.0 Authorization code flow
02:15 - Create user in OAuth server(Keycloak)
03:38 - Register web application in OAuth server(Keycloak)
05:13 - Create Flask web application
07:09 - Create OAuth client instance in flask application
09:54 - Login redirection endpoint
11:17 - Login callback endpoint
12:35 - Login user using flask session
14:06 - Render user information in the web page
17:13 - Logging out the user
22:23 - Add PKCE (Proof Code for Key Exchange) to workflow
23:23 - Outro


Смотрите видео Implement OAuth 2.0 Authorization Code flow using authlib in python flask web apps | Single Sign On онлайн без регистрации, длительностью 23 минут 57 секунд в хорошем hd качестве. Это видео добавил пользователь Learning Software 16 Май 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 7 тысяч раз и оно понравилось 10 людям.