Calvin Leung Huang
c3caac76f1
token/renewal: return full set of token and identity policies in the … ( #8535 )
...
* token/renewal: return full set of token and identity policies in the policies field
* extend tests to cover additional token and identity policies on a token
* verify identity_policies returned on login and renewals
2020-03-31 13:36:45 -07:00
Calvin Leung Huang
67c0773df9
ldap, okta: fix renewal when login policies are empty ( #8072 )
...
* ldap, okta: fix renewal when login policies are empty
* test/policy: add test for login renewal without configured policy
* test/policy: remove external dependency on tests, refactor lease duration check
2020-01-16 09:42:35 -08:00
Jeff Mitchell
402ba1b0f0
Tokenhelper v2 ( #6662 )
...
This provides an sdk util for common token fields and parsing and plumbs it into token store roles.
2019-06-14 10:17:04 -04:00
Jeff Mitchell
8bcb533a1b
Create sdk/ and api/ submodules ( #6583 )
2019-04-12 17:54:35 -04:00
Jeff Mitchell
bbc1d53a5d
Revert "Refactor common token fields and operations into a helper ( #5953 )"
...
This reverts commit 66c226c593bb1cd48cfd8364ac8510cb42b7d67a.
2019-02-01 11:23:40 -05:00
Jeff Mitchell
85a560abba
Refactor common token fields and operations into a helper ( #5953 )
2019-01-30 16:23:28 -05:00
Jeff Mitchell
ba0d029247
Restricts ACL templating to paths but allows failures ( #5167 )
...
When a templating failure happens, we now simply ignore that path,
rather than fail all access to all policies
2018-08-23 12:15:02 -04:00
Jeff Mitchell
4bf0b12bfa
Migrate external tests in vault folder
2018-08-22 20:50:52 -04:00