Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login required #3214

Merged
merged 489 commits into from
Nov 4, 2024
Merged

Login required #3214

merged 489 commits into from
Nov 4, 2024

Conversation

mauretto78
Copy link
Contributor

@mauretto78 mauretto78 commented Mar 8, 2024

ASANA https://app.asana.com/0/1134617950425092/1206421070031165

Documentation

The new auth JWT cookie is called matecat_login_v6, and has this structure:

{
 "metadata": {
   "gplus_picture": "https://lh3.googleusercontent.com/a/xxxxxxxxxx"
 },
 "user": {
   "email": "domenico@translated.net",
   "first_name": "Domenico",
   "has_password": true,
   "last_name": "Lupinetti",
   "uid": 166
 }
}

If a not-logged user calls a URL different from the homepage is redirected to this page:

https://www.matecat.com/signin

IMPORTANT When a not-logged user calls a URL different from the homepage, a session variable called wanted_url is set. Once the use successfully logs in, the session variable is cleared.


Copy link

gitguardian bot commented Apr 16, 2024

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
Once a secret has been leaked into a git repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@piedicianni
Copy link
Contributor

Aligner plugin dependecy: https://github.com/matecat/aligner_plugin/pull/209

@riccio82
Copy link
Contributor

riccio82
riccio82 previously approved these changes Nov 4, 2024
@mauretto78 mauretto78 dismissed riccio82’s stale review November 4, 2024 13:19

The merge-base changed after approval.

@riccio82 riccio82 merged commit a9bf86e into develop Nov 4, 2024
1 of 2 checks passed
@riccio82 riccio82 deleted the login-required branch November 4, 2024 13:20
@Ostico Ostico restored the login-required branch November 5, 2024 12:37
@riccio82 riccio82 deleted the login-required branch November 18, 2024 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants