ueberauth / guardian

Elixir Authentication
MIT License
3.44k stars 381 forks source link

JWT invalid after production app image rebuild #521

Closed MarkPare closed 6 years ago

MarkPare commented 6 years ago
  1. I'm an authenticated user that has been issued a jwt. Everything works fine.
  2. The production application's docker image is rebuilt, redeployed, and the phoenix server is restarted.
  3. My jwt token issued before the rebuild is no longer valid.

I'm having trouble finding what would be causing this. Looks like the secret key used in config.exsguardian config will always be the same across builds.

Any help is appreciated!

Also, thanks for the incredible library!

yordis commented 6 years ago

How are you setting up the secret key?

MarkPare commented 6 years ago

Sorry for not replying to this. This was an issue with our client application not sending correct authentication data. This was not an issue with Guardian or Elixir.