Skip to content

Commit

Permalink
Merge pull request #420 from jenkinsci/add-adfs-token-lifetime
Browse files Browse the repository at this point in the history
document ADFS token lifetime for devs
  • Loading branch information
jtnord authored Oct 10, 2024
2 parents 7706fbd + 84924d9 commit 4f73328
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/developer/AD-FS/setup-test-instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,10 @@ The resulting trust store can then be used by passing the `javax.net.ssl.trustSt
5. The "Full name field name" field should be set to `something`
6. The "Email field name" should be set to `something`
7. The "Groups field name" should be set to `something`

## Setting the token lifetime

In order to test refresh tokens (without having to wait 24 hours) you can set the token lifetime via the following powershell:
```powershell
Set-AdfsWebApiApplication -TokenLifetime 1 -TargetName "Jenkins Application Group - Web API"
```

0 comments on commit 4f73328

Please sign in to comment.