Windows Azure Active Directory - expiration of refreshtoken

后端 未结 5 1135
情深已故
情深已故 2020-12-16 18:27

I am experimenting with Windows Azure Active Directory. In a client (desktop) application the user enter his credentials and authenticate to access a REST service. I\'m usin

5条回答
  •  粉色の甜心
    2020-12-16 19:14

    I captured the calls to Azure Active Directory (AAD) with Fiddler and found a JSON response that included the access_token, expires_in and expires_on, id_token, refresh_token, resource, scope and token_type (Bearer).

    The expires_on equals 1398790050. So I went to Wolfram Alpha, queried how many seconds this was after 1970 and added 2 hours (I'm in the UTC+2 time zone). The access token is valid for 1 hour. In the TechNet forums it is mentioned the expire token is valid for about 80 days.

提交回复
热议问题