You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With #5412, the way we authenticate users has changed, and the following flows are now removed:
all AAD routes (link/unlink, sign up, authenticate etc)
forgot password
reset password
signup
verify
login (username and password)
So any frontend logic around these flows can also be removed.
Instead, authentication now exclusively happen via an OAuth flow with frontegg. A page has been added in #5356. However we need to add an additional authentication flow when the user tries to access any data on a specific teamspace.
The session now requires to be authenticated against a particular teamspace in order for the data to be released. When the user first login, they will be authenticated against a teamspace already (typically the last teamspace they were authenticated against), this information is available via GET login request
To authenticate the user against another teamspace, the OAuth workflow will need to be triggered again with a different endpoint to fetch the authentication link:
Note that this route is only available if the user has a valid session with the server and is a member of the teamspace. Upon success, the authenticatedTeamspace field via GET login request will be updated.
Description
Parent issue: #5356
Requires: #5412
With #5412, the way we authenticate users has changed, and the following flows are now removed:
So any frontend logic around these flows can also be removed.
Instead, authentication now exclusively happen via an OAuth flow with frontegg. A page has been added in #5356. However we need to add an additional authentication flow when the user tries to access any data on a specific teamspace.
The session now requires to be authenticated against a particular teamspace in order for the data to be released. When the user first login, they will be authenticated against a teamspace already (typically the last teamspace they were authenticated against), this information is available via
GET login
requestTo authenticate the user against another teamspace, the OAuth workflow will need to be triggered again with a different endpoint to fetch the authentication link:
3drepo.io/backend/src/v5/routes/authentication.js
Line 61 in 1da40bc
authenticatedTeamspace
field viaGET login
request will be updated.Specification
Goals
Tasks
TBC
The text was updated successfully, but these errors were encountered: