ler)

    def handle(self, event, context):
        self.logger.debug(f&#34;Incoming event: {event}, context: {context}&#34;)

        method = event.get(&#34;requestContext&#34;, {}).get(&#34;http&#34;, {}).get(&#34;method&#34;)
        if method is None:
            method = event.get(&#34;requestContext&#34;, {}).get(&#34;httpMethod&#34;)

        if method is None:
            return not_found()
        if method == &#34;GET&#34;:
            if self.app.oauth_flow is not None:
                oauth_flo