auth / invalid-custom-token令牌Firebase,但这是正确的吗?

时间:2019-02-28 10:56:45

标签: javascript reactjs firebase jwt token

每当我在服务器端生成iat的自定义令牌时,都会在16分钟内转换为正常时间时提示iat,因此在我实际登录后16分钟设置了iat时,我会收到错误消息?我想知道这就是为什么我得到该错误,就像我从电脑上跑出来一样。它显示在几秒钟前的{{1}}上,而不是16分钟内显示。

在服务器上生成的JWT令牌:     eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImlhdCI6MTU1MTM1MjA5OCwiZXhwIjoxNTUxMzU1Njk4LCJpc3MiOiJmaXJlYmFzZS1hZG1pbnNkay1lcXE1Z0B4ZW5vZ2FtaW5nLTI1YzA4LmlhbS5nc2VydmljZWFjY291bnQuY29tIiwic3ViIjoiZmlyZWJhc2UtYWRtaW5zZGstZXFxNWdAeGVub2dhbWluZy0yNWMwOC5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInVpZCI6Ijc2NTYxMTk4MTIyMTMwNzYzIn0.AusdFHBo4aW35qJ0u0uwsacrfuqrvQorBTYkwfnedyqQcVjfrzKw9QAWm8p1ss4y7MgeK_AKu5Yrgls8JHIyZzYPwYBjna6dKoWK0zmDTm57iaN3UsS0aR7H4i3mdQpELgC0oVmuBa_d6NPVZeZp_1UiX6lNNALJdzrHMC91ZLhDzVqoEMTVEjqH0UxlM3e3oUz7l - 0LFJEm5uVon4-exlpXWOiA6vcPCFtqExQKAAdxQF_aLL-j5ldIJj3jKd_QKTonzOR_MhzkKNEMJsZFo3isxPvtTsmsVwPoigC0jZZTkP7Ysj0fVmvIw-F7-DdeHhL-srbILGAgzRFbM0Xdg

0 个答案:

没有答案