swh.auth.django.views module#
- swh.auth.django.views.oidc_login_view(request: HttpRequest, redirect_uri: str, scope: str = 'openid')[source]#
- Helper view function that initiates a login process using OIDC authorization code flow with PKCE. - OIDC session scope can be modified using the dedicated parameter. 
- swh.auth.django.views.get_oidc_login_data(request: HttpRequest) Dict[str, Any][source]#
- Check and get login data stored in django session. 
- swh.auth.django.views.oidc_login(request: HttpRequest) HttpResponse[source]#
- Django view to initiate login process using OpenID Connect authorization code flow with PKCE.