1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-05 19:42:04 +02:00

configurable redirect-url

This commit is contained in:
B. Petersen 2019-02-17 00:38:41 +01:00
parent 68d42c3488
commit a5907d6e0a
No known key found for this signature in database
GPG key ID: 3B88E92DEA8E9AFC
3 changed files with 14 additions and 6 deletions

View file

@ -358,7 +358,8 @@ int main(int argc, char ** argv)
printf("oauth2: set addr first.\n");
}
else {
char* oauth2_url = dc_get_oauth2_url(context, addr);
char* oauth2_url = dc_get_oauth2_url(context, addr,
"urn:ietf:wg:oauth:2.0:oob");
if (oauth2_url==NULL) {
printf("OAuth2 not available for %s.\n", addr);
}