OAuth/PCKE is used by default

pull/210/head
M66B 2 years ago
parent 8c6714189d
commit a6f39a1fac

@ -281,7 +281,6 @@ public class EmailProvider implements Parcelable {
provider.oauth.askAccount = getAttributeBooleanValue(xml, "askAccount", false);
provider.oauth.clientId = xml.getAttributeValue(null, "clientId");
provider.oauth.clientSecret = xml.getAttributeValue(null, "clientSecret");
provider.oauth.pcke = getAttributeBooleanValue(xml, "pcke", false);
provider.oauth.scopes = xml.getAttributeValue(null, "scopes").split(",");
provider.oauth.authorizationEndpoint = xml.getAttributeValue(null, "authorizationEndpoint");
provider.oauth.tokenEndpoint = xml.getAttributeValue(null, "tokenEndpoint");
@ -1306,7 +1305,6 @@ public class EmailProvider implements Parcelable {
boolean askAccount;
String clientId;
String clientSecret;
boolean pcke;
String[] scopes;
String authorizationEndpoint;
String tokenEndpoint;

@ -460,9 +460,6 @@ public class FragmentOAuth extends FragmentBase {
authRequestBuilder.setLoginHint(address);
}
if (provider.oauth.pcke)
authRequestBuilder.setCodeVerifier(CodeVerifierUtil.generateRandomCodeVerifier());
if (!TextUtils.isEmpty(provider.oauth.prompt))
authRequestBuilder.setPrompt(provider.oauth.prompt);

@ -232,7 +232,6 @@
clientId="dj0yJmk9SWtNZm1vUFc2THJDJnM9Y29uc3VtZXJzZWNyZXQmc3Y9MCZ4PWRi"
clientSecret="261a91fbbdb2852c4e80fdd3d1db4a8ebfa4c42b"
enabled="true"
pcke="true"
privacy="https://www.verizonmedia.com/policies/us/en/verizonmedia/privacy/index.html"
redirectUri="https://oauth.faircode.eu/"
scopes="mail-w"
@ -872,7 +871,6 @@
authorizationEndpoint="https://api.login.aol.com/oauth2/request_auth"
clientId="dj0yJmk9SFVJYWVtS21RMjYyJmQ9WVdrOVJVcENRMXBTT1drbWNHbzlNQT09JnM9Y29uc3VtZXJzZWNyZXQmc3Y9MCZ4PTJh"
enabled="true"
pcke="true"
privacy="https://legal.yahoo.com/us/en/yahoo/privacy/index.html"
redirectUri="https://oauth.faircode.eu/"
scopes="mail-w"

Loading…
Cancel
Save