Skip to content

Add OAuth security to NLIP endpoint#2

Open
sheffler wants to merge 1 commit into
nlip-project:mainfrom
sheffler:openapi-and-oauth
Open

Add OAuth security to NLIP endpoint#2
sheffler wants to merge 1 commit into
nlip-project:mainfrom
sheffler:openapi-and-oauth

Conversation

@sheffler
Copy link
Copy Markdown

The modifications to the fast-api-server that allowed the Swagger demo against the Django Oauth Server

on Nov 13, 2024.

server.py add middleware that helps authlib store session state.

nlip.py adds a security protection on the /nlip endpoint that verifies that there is a current user and that their token is valid. It checks the validity of the token by querying against the /userinfo endpoint of the authentication server.

…o against the Django Oauth Server

on Nov 13, 2024.

server.py add middleware that helps authlib store session state.

nlip.py adds a security protection on the /nlip endpoint that verifies that there is a current user
and that their token is valid.  It checks the validity of the token by querying against the /userinfo
endpoint of the authentication server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant