New answers tagged oauth
0
votes
Accepted
WordPress login set cookie that survive browser exit (wp_signon function)
Without knowing what Google OAuth plugin you're using (and how it internally signs a user in), the only way is to override the pluggable function wp_set_auth_cookie, setting $remember to always true:
...
Top 50 recent answers are included
Related Tags
oauth × 36api × 10
authentication × 9
rest-api × 8
plugin-development × 5
wp-api × 5
plugins × 4
login × 4
google × 4
users × 2
redirect × 2
security × 2
cookies × 2
functions × 1
woocommerce-offtopic × 1
ajax × 1
javascript × 1
wp-admin × 1
hooks × 1
password × 1
json × 1
wp-config × 1
wp-redirect × 1
https × 1
session × 1