Weekly Issue 2023-06-11

Original link: https://zdyxry.github.io/2023/06/11/Weekly-Issue-2023-06-11/

Article link to title Technology link to title OAuth Authentication with Flask in 2023 – miguelgrinberg.com
[[Flask]] implements the [[OAuth]] example, which introduces how to configure the Provider, how to set the callback url, and how to use the authorization code to obtain the access token process. The code is clean, less than 200 lines, good for learning about [[OAuth]].
Code address: GitHub – miguelgrinberg/flask-oauth-example: Example code from my “OAuth Authentication with Flask” article.
Trailing Dots in Domain Names
About the last . in the domain name: if it is www.example.com., then it is an absolute domain name; if it is www.example.com, then it is a relative domain name, which is always implied in each DNS search list applied “.”, it becomes www.example.com.; if you enter www and DNS search domain contains example.com, you will get www.example.com.
DNS Lookups in Kubernetes
The priority of [[DNS]] resolution in [[kubernetes]] can directly hard-code FQDN to reduce invalid resolution.

This article is transferred from: https://zdyxry.github.io/2023/06/11/Weekly-Issue-2023-06-11/
This site is only for collection, and the copyright belongs to the original author.