Skip to content

Commit

Permalink
IMAP: Invalid client secret provided #46
Browse files Browse the repository at this point in the history
  • Loading branch information
picman committed Jul 20, 2024
1 parent 3155e58 commit b385e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redmine_oauth/imap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class << self
def check(imap_options = {}, options = {})
client = OAuth2::Client.new(
Setting.plugin_redmine_oauth[:client_id],
Setting.plugin_redmine_oauth[:client_secret],
Redmine::Ciphering.decrypt_text(Setting.plugin_redmine_oauth[:client_secret]),
site: Setting.plugin_redmine_oauth[:site]&.chomp('/'),
token_url: "/#{Setting.plugin_redmine_oauth[:tenant_id]}/oauth2/v2.0/token"
)
Expand Down

0 comments on commit b385e9a

Please sign in to comment.