dto-btn / ssc-assistant

Second iteration of the SSC chatbot/assistant
MIT License
2 stars 1 forks source link

Remove db code for id_token #253

Closed GuillaumeTurcotte closed 1 week ago

GuillaumeTurcotte commented 2 weeks ago

We currently have code that supports validating the access token and the id token due to restrictions of being unable to modify both prod and dev at the same time.

We need to remove this code from app/api/utils/db.py @ line 39:

elif user and user['oid'] and user['sub'] and user['preferred_username']: # supports old method, the id_token