Skip to content

Commit

Permalink
chore: small doc improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
kidk authored Jan 3, 2025
1 parent 2917841 commit b2ded50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/flask.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ from aikido_zen.middleware import AikidoFlaskMiddleware

app = Flask(__name__)
# ...
app.wsgi_app = AikidoFlaskMiddleware(app.wsgi_app)
# ...
# Authorization middleware here (Make sure aikido middleware runs after this)
app.wsgi_app = AikidoFlaskMiddleware(app.wsgi_app)
# ...
```
As soon as you identify the user in you authorization middleware, pass the identity info to Aikido.
Expand Down

0 comments on commit b2ded50

Please sign in to comment.