From 6442280e528365a51a1ab6af336a3a4543375fbd Mon Sep 17 00:00:00 2001 From: David Pugh Date: Mon, 21 Dec 2020 22:05:00 +0000 Subject: [PATCH] Adding redirect uri logging --- src/fastapi_aad_auth/providers/aad.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fastapi_aad_auth/providers/aad.py b/src/fastapi_aad_auth/providers/aad.py index e843e7a..390140d 100644 --- a/src/fastapi_aad_auth/providers/aad.py +++ b/src/fastapi_aad_auth/providers/aad.py @@ -86,6 +86,7 @@ def _build_redirect_uri(self, request: Request): else: port = f':{request.url.port}' redirect_uri = f'{request.url.scheme}://{request.url.hostname}{port}{self._redirect_path}' + self.logger.info(f'Created redirect uri: {redirect_uri} from {request.url}') return redirect_uri def _process_code(self, request: Request, auth_state, code):