File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 167167 access_token_url = "https://login.microsoftonline.com/2b897507-ee8c-4575-830b-4f8267c3d307/oauth2/v2.0/token" , # noqa: E501
168168 access_token_method = "POST" ,
169169 authorize_url = "https://login.microsoftonline.com/2b897507-ee8c-4575-830b-4f8267c3d307/oauth2/v2.0/authorize" , # noqa: E501
170- consumer_key = ICL_OAUTH_CLIENT_ID ,
171- consumer_secret = ICL_OAUTH_CLIENT_SECRET ,
170+ app_key = "ICL_APP_CREDENTIALS" ,
172171 ),
173172 authorized_handler = "invenio_oauthclient.handlers:authorized_signup_handler" ,
174173 disconnect_handler = "invenio_oauthclient.handlers:disconnect_handler" ,
177176 ),
178177 signup_options = dict (auto_confirm = True , send_register_msg = False ),
179178 )
179+ ICL_APP_CREDENTIALS = {
180+ "consumer_key" : ICL_OAUTH_CLIENT_ID ,
181+ "consumer_secret" : ICL_OAUTH_CLIENT_SECRET ,
182+ }
180183
181184ACCOUNTS_LOGIN_VIEW_FUNCTION = (
182185 auto_redirect_login # autoredirect to external login if enabled
You can’t perform that action at this time.
0 commit comments