Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client ID Secret values disappear after click apply button #49

Open
aslancll opened this issue Aug 7, 2019 · 2 comments
Open

Client ID Secret values disappear after click apply button #49

aslancll opened this issue Aug 7, 2019 · 2 comments

Comments

@aslancll
Copy link

aslancll commented Aug 7, 2019

I wanted to add my domains to the plugin. When I clicked the apply, client values disappeared.
I re-create a new client ID and secret but can't save client values with or without available domain info.

Log-in w/ Google option disappeared from login page now.

@fabiomedeiro
Copy link

I am having the same issue

@undying
Copy link

undying commented Jan 17, 2020

Had the same problem.
As a workaround you can update database to make it work again:

BEGIN;
UPDATE settings set value = '--- !ruby/hash-with-ivars:ActionController::Parameters
elements:
  client_id: "<your oauth id>"
  client_secret: "<your oauth secret>"
  allowed_domains: "domain1.com\r\ndomain2.net"
  oauth_authentification: ''true''
ivars:
  :@permitted: false' WHERE id = (SELECT id FROM settings WHERE name = 'plugin_redmine_omniauth_google');
COMMIT;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants