[python] Authlib에서 지원하는 인증 제공 업체는 어떤 것들이 있을까요?
  1. Google: 구글 계정으로 로그인할 수 있는 OAuth 2.0 인증을 제공합니다. Authlib의 google 제공자를 사용하여 구현할 수 있습니다.
from authlib.integrations.flask_client import OAuth

oauth = OAuth(app)
google = oauth.register(
    name='google',
    client_id='YOUR_GOOGLE_CLIENT_ID',
    client_secret='YOUR_GOOGLE_CLIENT_SECRET',
    authorize_url='https://accounts.google.com/o/oauth2/auth',
    access_token_url='https://accounts.google.com/o/oauth2/token',
    api_base_url='https://www.googleapis.com',
    client_kwargs={'scope': 'openid profile email'}
)
  1. Facebook: 페이스북 계정으로 로그인할 수 있는 OAuth 2.0 인증을 제공합니다. Authlib의 facebook 제공자를 사용하여 구현할 수 있습니다.
from authlib.integrations.flask_client import OAuth

oauth = OAuth(app)
facebook = oauth.register(
    name='facebook',
    client_id='YOUR_FACEBOOK_CLIENT_ID',
    client_secret='YOUR_FACEBOOK_CLIENT_SECRET',
    access_token_url='https://graph.facebook.com/v11.0/oauth/access_token',
    authorize_url='https://www.facebook.com/v11.0/dialog/oauth',
    api_base_url='https://graph.facebook.com',
    client_kwargs={'scope': 'email'}
)
  1. GitHub: 깃허브 계정으로 로그인할 수 있는 OAuth 2.0 인증을 제공합니다. Authlib의 github 제공자를 사용하여 구현할 수 있습니다.
from authlib.integrations.flask_client import OAuth

oauth = OAuth(app)
github = oauth.register(
    name='github',
    client_id='YOUR_GITHUB_CLIENT_ID',
    client_secret='YOUR_GITHUB_CLIENT_SECRET',
    access_token_url='https://github.com/login/oauth/access_token',
    authorize_url='https://github.com/login/oauth/authorize',
    api_base_url='https://api.github.com/',
    client_kwargs={'scope': 'user:email'}
)

다른 인증 제공 업체들도 Authlib에서 지원하고 있으며, 공식 문서에서 자세한 정보를 확인할 수 있습니다. (https://docs.authlib.org/en/latest/clients/index.html)