openware / barong

Barong auth server
https://www.openware.com
Apache License 2.0
138 stars 262 forks source link

Event API has no raw devise token and has no ability to send reset password email #525

Closed rxx closed 6 years ago

rxx commented 6 years ago

Devise generates two tokens. One for database, one for email only. Barong sends event with database token that is not available for emails. We need to handle devise reset password token generator and send event with raw token

https://github.com/plataformatec/devise/blob/master/lib/devise/models/recoverable.rb#L89

rxx commented 6 years ago

Fixed with https://github.com/rubykube/barong/pull/528