Skip to content

Commit 00a67ad

Browse files
committed
Fixed insecure ORCiD OAuth /authorize endpoint
Pac4j built-in library somehow uses HTTP for authorization requests. newCAS has been updated to used HTTPS and the rest are up-to-date. See section "Web Endpoints" in the README.md of the following repo: https://github.com/ORCID/ORCID-Source/tree/master/orcid-api-web
1 parent 8b9bc24 commit 00a67ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/pac4j/scribe/builder/api/OrcidApi20.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
public class OrcidApi20 extends DefaultApi20 {
2121

22-
private static final String AUTH_URL = "http://www.orcid.org/oauth/authorize";
22+
private static final String AUTH_URL = "https://orcid.org/oauth/authorize";
2323
private static final String TOKEN_URL = "https://orcid.org/oauth/token";
2424

2525
@Override

0 commit comments

Comments
 (0)