What is the store concept in OpenID

Hi, here is what I understand how Openid works: -

  • the user enters his public url on the site, they say "hii.com"
  • The application redirects to the openid provider and either logs in to the system or denies it, and sends the response back to ie "hii.com"
  • If the authentication is successful, the response object provided by the openid provider may contain other data, such as email, etc., if hii.com requested it.
  • I can save this data in a database.

Please correct me if I am wrong. However, I do not understand the concept of stores here. I see openid.store.filestore, nonce, sqlstore. Can someone please give me some clarity. What role does this store play here. I went through python openid docs, but in the end I feel ignorant. Thanks

+3
source share
1 answer

upd .: my previous answer was wrong

The repository to which you refer contains your application, which stores data during authorization.

Saving it in a shared memcached instance should be the best option (faster than db and reliable enough).

+1
source

Source: https://habr.com/ru/post/1769629/


All Articles