Skip to content

Commit

Permalink
Updated ORCID registration URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolsy Smith committed Feb 16, 2024
1 parent cc3729e commit 5045923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orcidflask/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
base_url = 'https://orcid.org'
# Personal attributes from SAML metadata definitions
app.config['orcid_auth_url'] = base_url + '/oauth/authorize?client_id={orcid_client_id}&response_type=code&scope={scopes}&redirect_uri={redirect_uri}&family_names={lastname}&given_names={firstname}&email={emailaddress}'
app.config['orcid_register_url'] = base_url + '/register?client_id={orcid_client_id}&response_type=code&scope={scopes}&redirect_uri={redirect_uri}&family_names={lastname}&given_names={firstname}&email={emailaddress}'
app.config['orcid_register_url'] = base_url + '/oauth/authorize?client_id={orcid_client_id}&response_type=code&scope={scopes}&redirect_uri={redirect_uri}&family_names={lastname}&given_names={firstname}&email={emailaddress}&show_login=false'
app.config['orcid_token_url'] = base_url + '/oauth/token'
app.config['SAML_PATH'] = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'saml')
app.secret_key = app.config['SECRET_KEY']
Expand Down

0 comments on commit 5045923

Please sign in to comment.