<a href="">login</a>
:state
parameter of string type. This can be a unique token generated by your application. This is an OAuth 2.0 opaque value, used to avoid CSRF attacks. This value is echoed back in the response. We strongly recommend you use this.password
or mobile
parameters has to be passed in this request. If both are passed, the PeerID server validates both of them along with the login
./api/v1/app/operations
API. You have to pass the access token for the user in the Authorization header for this API like:expires
field indicating how long the token should last. However, you should build your applications in such a way that they are resilient to token authentication failures. In other words, an application capable of refreshing tokens should not need to know how long a token will live. Rather, it should be prepared to deal with the token becoming invalid at any time.401 - Unauthorized
error, an application should try to refresh the session if a refresh token is present. If the refresh fails, the application should re-prompt the end user with another authentication dialog via the standard OAuth 2.0 flow.