Can someone help me understand how OpenID works? I'm interested in the following answers:
I recently made an openid authentication system this is how it works.
login:
authenticate request:
there is a table that maps openid url to user.
for each request:
Do you still have to store userIDs and passwords if using openId?
userIDs yes, passwords no (unless you provide other ways to login except openid)
How does my application find out and create a new session when someone logs in?
Sessions are handled as normal, sessions are for authenticated and unauthenticated users.
When I use logs out of my own application, do I need to do anything more than just clear their session from my application? (Do I need to inform the openId server?)
Nope.