Skip to main content

Config For La Tercera

"userName": "fgilio",
"credentials": "7y-TW_-MpN3pi_jvGunWHPorJ",

Facebook test accounts:

Jayden Aleaggehccida Bushakman  101646888237839 ehdbmibsha_1590163203@tfbnw.net
Tyler Aleagfjecdfha Occhinoescu 101969721538379 yyouyofcjj_1590163197@tfbnw.net
James Aleagbcfffccj Smithsky 102671171467005 jjxtlvlxkj_1590163199@tfbnw.net
Susan Aleadcfkigfi Yangsky 112623017128898 tygimwpksk_1590163201@tfbnw.net
Open Graph Test User 107642566895467 open_zhnmgnh_user@tfbnw.net

The password for all accounts is dfg567Ht4df89. (with the dot)
  • Test en testcopesa
  1. https://testcopesa.publica.la
  2. https://testcopesa.publica.la/auth/social/arc_publishing_facebook/callback
  3. https://testcopesa.publica.la/auth/social/arc_publishing_google/callback

To do tests in your local, is mandatory use this configuration:

"custom_socialite_providers": {
"arc_publishing_google": {
"enabled": true,
"redirect": "https://stagingapp.publica.la/auth/social/arc_publishing_google/callback",
"client_id": "5397844116-r1vl5s95uupim2qu21q7tdhpp30v5uhr.apps.googleusercontent.com",
"client_secret": null,
"api_subdomain_fragment": "api-copesa-la-ternera-sandbox"
},
"arc_publishing_facebook": {
"enabled": true,
"redirect": "https://stagingapp.publica.la/auth/social/arc_publishing_facebook/callback",
"client_id": "681004598937061",
"client_secret": null,
"api_subdomain_fragment": "api-copesa-la-ternera-sandbox"
},
"arc_publishing_password": {
"enabled": true,
"redirect": null,
"client_id": "api-copesa-la-ternera-sandbox",
"client_secret": "SOBTNUVS1L1FRUDLP18NQSP9VE3C3NIIl8/ioEgpfgLNXkMFiKez1l5QVmpyjeATgCEf8PZB",
"api_subdomain_fragment": "api-copesa-la-ternera-sandbox"
}
}

If you try to change some these values, it wont work. It's important to Facebook and Google keep the same CLIENT_ID because this value is used for Arc to be sure where is from the callback.

If you don't keep those values, Arc will return a response like this:

{
"httpStatus": 401,
"code": "300040",
"message": "Invalid username or password"
}

Social logins

Facebook and Google social logins redirect URLs: Producción:

- https://app.publica.la/auth/social/arc_publishing_facebook/callback
- https://app.publica.la/auth/social/arc_publishing_google/callback
- https://testcopesa.publica.la/auth/social/arc_publishing_facebook/callback
- https://testcopesa.publica.la/social/arc_publishing_google/callback
- https://kiosco.latercera.com/auth/social/arc_publishing_facebook/callback
- https://kiosco.latercera.com/auth/social/arc_publishing_google/callback

We are not using the app.publica.la ones, because everything goes directly to the corresponding tenant. We may either ask them to remove those two URLs, or change the way this works so that we always to the app.publica.la -> tenant.com redirect.

Staging:

- https://stagingapp.publica.la/auth/social/arc_publishing_facebook/callback
- https://stagingapp.publica.la/auth/social/arc_publishing_google/callback

You'll need to edit your hosts file and point staginapp.publica.la to your local farfalla IP, like this:

# Add this line to /etc/hosts
127.0.0.1 stagingapp.publica.la

And after that you'll also need to add stagingapp.publica.la as the final_domain of tenant 1 and run this command in the project root folder:

valet link stagingapp.publica.la

Overview


X

Graph View