1
resposta

Token está retornando vazio

2021-09-02 15:09:14.422 WARN 7848 --- [nio-8080-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotReadableException: Required request body is missing: public org.springframework.http.ResponseEntity<br.com.alura.forum.controller.dto.TokenDto> br.com.alura.forum.controller.AutenticacaoController.autenticar(br.com.alura.forum.controller.form.LoginForm)]

O codigo esta clonado idêntico;

jwt

forum.jwt.secret=A+X;fTJP&Pd,TD9dwVq(hsHX,ya^<wsDUK7L+@=S;{'CydP]{v@}G'b>et;yz$*\yL5S8EJN:%P:X%H9>#nYLrX}@\s?CQcpspH,2emzBc!Q[V'AYauzF8WRAUrMzxp/V$9([S9X#zj/CH('#]BHc+%fGhe27YB;^j4\Xk=Ju"Ap_&<L;=!Z;!,2UP;!hF3P]j85#*`&T]/kB/W^6$vu6qpejL>kY^f)sy4:qTq_Ec!-z!@aAp~sLKGU>$ forum.jwt.expiration=86400000

1 resposta

Oi,

Parece ser problema ao enviar a requisicao via Postman.

Consegue mandar um print da requisicao enviada no postman?