What to do with openid results?

I am trying to use OpenID (JOpenID) for the first time. After completing OpenID authentication and returning the URL, I get the user's identity and email address. In case the user opens my site in the future, how can I again identify the user? Should I use a cookie or something else? Or will OpenID take care of this? All OpenID libraries speak only about part of the login, but do not remember anything about where to store / store, etc. Plz will tell me where I can get the whole login process using OpenID, remember the credentials and log out.

+3
source share
1 answer

Libraries only document the login process, because that is what OpenID is. The rest should be done as with any other authentication scheme.

If you do not know how to do authentication without OpenID, then you will not know how to do it with OpenID (and your question should be "how to authenticate a user in the X language / infrastructure").

-1
source

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


All Articles