Files
directus/src/utils/jwt-payload
Rijk van Zanten 7485a97a3b Public (#373)
* Add note to public page

* Add project chooser on public view

* Optimize loading order

So much nicer to use now

Closes #298

* Fix the private project switcher too

* Add transition to public view

* Prevent project switching if youre already on that project

* [WIP] Add reset password form

* Add request password reset page

* Add jwt-payload util

* Install base-64

* Fix test typing

* Add new errors to translations

* Finish reset password flow

* Fix foreground color on v-notice

* Fix tests

* Allow code in translateError + render project error translated on login

* Remove wrong reference to error component

* Render project key if name is unknown

* Fix date-fns version

* Fix tests
2020-04-09 19:06:15 -04:00
..
2020-04-09 19:06:15 -04:00
2020-04-09 19:06:15 -04:00
2020-04-09 19:06:15 -04:00

JWT Payload

Get the payload from a JWT token.

Usage

jwtPayload('eyJa ... Gm18');

// => { exp: 1586466920, [key: string]: any }