Horiglas Horiglas 05.03.2020, 20:47:56 0 + Tylko na symfony trzeba generować ręcznie klucze do JWT autoryzacji czy jak?https://github.com/lexik/LexikJWTAuthenticationBundle/blob/master/Resources/doc/index.md#generate-the-ssh-keysJak zerknąłem w dokumentację #django to nic tam o tym nie było.#symfony #php #webdev
zielonka18 zielonka18 06.03.2020, 01:28:08 via Zakop 3 + @Horiglas: Wyika to z tego, że LexikJWTBundle używa domyślnie pary kluczy RSA, a Django korzysta z HMAC, wykorzystując settings.SECRET_KEY jako sekretu (stąd brak konieczności konfiguracji). Obie biblioteki wspierają jednak zarówno HMAC jak i RSA:https://github.com/lexik/LexikJWTAuthenticationBundle/blob/master/Resources/doc/1-configuration-reference.mdhttps://github.com/davesque/django-rest-framework-simplejwt/blob/master/README.rst
https://github.com/lexik/LexikJWTAuthenticationBundle/blob/master/Resources/doc/index.md#generate-the-ssh-keys
Jak zerknąłem w dokumentację #django to nic tam o tym nie było.
#symfony #php #webdev
https://github.com/lexik/LexikJWTAuthenticationBundle/blob/master/Resources/doc/1-configuration-reference.md
https://github.com/davesque/django-rest-framework-simplejwt/blob/master/README.rst