csvalpha / amber-api

https://csvalpha.nl
MIT License
4 stars 4 forks source link

Update user allow_tomato_sharing when authorized #347

Closed wilco375 closed 1 year ago

wilco375 commented 1 year ago

Summary

When the user authorizes an OAuth application, a screen is shown where the user explicitly grants permission for information to be shared with that application (https://github.com/csvalpha/amber-ui/blob/staging/app/templates/oauth/authorize.hbs). However, currently, allow_tomato_sharing is not set to true when the user grants permission for SOFIA. When refreshing users in SOFIA, this user is then not synchronized. This PR fixes that.