Sign-in
Questions about sign-ins, sessions and tokens.
On this page
My app gets 401 although the token is right. Why?
After more than five requests with a wrong token from one IP address, OpenAuth blocks that address for up to 15 minutes, for every request that needs a token. Fix the token in your app, wait, and try again. Requests from other addresses are not affected.
How long does a user have to sign in?
15 minutes from the moment your app calls POST /. Your app must also read the profile within that time.
The user came back but /sessions/ answers 404. Why?
The session has expired, OpenAuth was restarted while the user was signing in, or the session ID does not match the one your app sent. Start the sign-in again.
Can I sign users in without a return address?
- Leave out
urlinPOST /. The user sees a page that says they have logged in, and your app reads the profile with its session ID. See Start a sign-in.
Does OpenAuth remember users?
- It keeps each profile only until the session expires and writes a line in the sign-in log. Your app stores its users.