providers/oauth: add support for consent stage, cleanup
This commit is contained in:
@ -23,7 +23,7 @@ class OAuth2Provider(Provider, AbstractApplication):
|
||||
def html_setup_urls(self, request: HttpRequest) -> Optional[str]:
|
||||
"""return template and context modal with URLs for authorize, token, openid-config, etc"""
|
||||
return render_to_string(
|
||||
"oauth2_provider/setup_url_modal.html",
|
||||
"providers/oauth/setup_url_modal.html",
|
||||
{
|
||||
"provider": self,
|
||||
"authorize_url": request.build_absolute_uri(
|
||||
|
||||
Reference in New Issue
Block a user