thomius
thomius

Reputation: 824

How to keep user signed in longer when using Azure Active Directory (AAD)?

How to ask for the username/password less frequently (than the default 1-hour access token lifetime) when using Azure Active Directory?

Upvotes: 0

Views: 97

Answers (1)

Daniel Dobalian
Daniel Dobalian

Reputation: 3237

Azure AD allows you to configure the lifetime of a token.

You can setup a token lifetime policy such that access/id tokens with a lifetime of n hours. There's a few nuances that the doc I linked should walk you through. For instance, the policy should be linked to the resource not necessarily your web app.

Upvotes: 1

Related Questions