# Enroll The objective of this repo is to provide guidance on how to enroll in the EMERALD project, or any other project that uses git.code.tecnalia.com as a repository. In order to enroll a project such as EMERALD, you need to follow the next steps: * [register in git.code.tecnalia.com with orein.](#register-in-gitcodetecnaliacom-with-orein) * [login to git.code.tecnalia.com](#login-to-gitcodetecnaliacom) * [request access to the project responsible](#request-access-to-the-project-responsible) We included a section for trouble shooting in case of sign-up or sign-in issues. [Trouble shooting](#trouble-shooting) ## Register in git.code.tecnalia.com with orein First of all you have to create an account in git.code.tecnalia.com so that you can be added latter to a project. In order to create an account: * Access to Orein * Register account * Activate 2fa * Activate authenticator * Copy recovery codes * Confirm email * Login To log in go to the root url of the gitlab repository [htts://git.code.tecnalia.com/](https://git.code.tecnalia.com/) as an external user or click `Sign in` if you are in another page ( i.e. https://git.code.tecnalia.com/groups/emerald ).  In both ways you will reach the login page.  There you have three options to log in: * LDAP * Standard * Orein OpenID As an external user you have to use the Orein OpenID option. Click on the Orein OpenID button and you will be redirected to the Orein login page.  Orein login page offers different options. 1. Register an account on orein 2. Login with an active account on orein 3. Use an identity provider as * github * Google * Microsoft * Amazon 4. Use a [FIDO2](https://fidoalliance.org/fido2/) 5. Use a Tecnalia account 6. And reocover the orein account password if you have forgotten it. External users can use the first four options. we will address the registering process in this guide. Click on the `Register (1)` button.  To register we require email and password with some complexity.  Immediately, you are going to be asked to configure the `2FA` two factor authentication. Which is mandatory for all users in git.code.tecnalia.com.  Following the instructions you should configure your Authenticator app. In this case we show the process with the [Microsoft Authenticator](https://play.google.com/store/apps/details?id=com.azure.authenticator&hl=es&gl=US) app. But you can use any other app that supports the TOTP protocol such as [Google Authenticator](https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2&hl=es&gl=US) or [Authy](https://play.google.com/store/apps/details?id=com.authy.authy&hl=es&gl=US). {width=250}{width=250}{width=250}{width=250}{width=250}{width=250} That number should be used to confirm the 2FA configuration.  Once validated the 2FA you will be shown the recovery codes.  **Important**: **Copy Authentication recovery codes** in a secure place. These are required in case you lost the authenticator. The can be also used to login in case you have forgotten the password and you need to reset it.  Comfirm email (Beware of spam)    ## login to git.code.tecnalia.com To login using orein you have to click on the Orein OpenID button and you will be redirected to the Orein login page. There you have to use the first (2) option. The number 2 in the image below.  To login   That will drive you to the welcome page or the group page where you have clicked the login button.  ## Request access to the project responsible There are two ways to request access to the project. - Send an email to a [project owner](https://git.code.tecnalia.com/groups/emerald/-/group_members) - Once you are logged in you can request access. Clicking the request access button.  ## Trouble shooting In case of sign-up or sign-in issues contact project owners https://git.code.tecnalia.com/groups/emerald/-/group_members at tecnalia. - [Lost of Authenticator](#lost-of-authenticator) - [Lost of the recovery codes](#lost-of-the-recovery-codes) - [Lost of the password](#lost-of-the-password) - [Lost of authenticator and recovery codes](#lost-of-authenticator-and-recovery-codes) ### Lost of Authenticator In case you have lost the authenticator access your configuration page in orein.  After login you can be asked for the 2FA code. Use a recovery code as you have not the authenticator.  Once you are in  Go to the [account](https://git.code.tecnalia.com/-/profile/account) section in the profile menu.  The configuration page you that bring you to the [2FA configuration](https://git.code.tecnalia.com/-/profile/two_factor_auth).  In this case as described in the `Register a one-time password authenticator`you have to first to `Disable two-factor authentication` (1) and then register again.  Following the procedure shown in the [register in git.code.tecnalia.com with orein.](#register-in-gitcodetecnaliacom-with-orein) section. Do not forget to take note of the recovery codes.  ### Lost of the recovery codes In case you have lost the recovery codes you can recover them from the the [2FA configuration](https://git.code.tecnalia.com/-/profile/two_factor_auth).  There you can `Regenerate recovery codes` (2) to create a new set of recovery codes. ### Lost of the password In case you have lost the password you can reconfigure it from the Orein login page.  In this case you have to click on the `Forgot your password?` (6) link. This will request your email.   You will receive an email with a link to reset the password.  After you click on the link `here` you will be asked to set a new password.  From there, your request can be directly accepted.  From there, you will be forwarded to the login page. After login you can be asked for the 2FA code. In case you have lost the authenticator you can use the recovery codes.  ### Lost of authenticator and recovery codes In case you have lost the authenticator and the recovery codes you can request a `2FA reset` to your account by contacting the [project owner](https://git.code.tecnalia.com/groups/emerald/-/group_members) at tecnalia.