Page History
Contents of this guide
With this guide you will learn how to create the internal Application Workbench account and how to connect it to the EPISODES Platform so that the Platform will be able to access the applications you created. We will also explain why this account has to be created as an addition to your EPISODES Platform account.
Why creating a new account is required?
The Application Workbench is a service which manages GIT repositories created for your custom application. While it supports authentication using the Single Sign-On (SSO) mechanisms of the EPISODES Platform, allowing you to log in with the Platform's credentials, it also allows you to manage and edit your code from outside of the Platform (see also Editing the application code). For this purpose, the Application Workbench requires creating an internal account. In most cases, the account will be created automatically once you log in to the Application Workbench, however, in some rare cases - when the default account name is already taken, you will be required to fill the details of this account.
account with your chosen username (which might be different from the EPISODES Platform username). If you will be editing your application code only through the Web interface of the Application Workbench, you will not be required to log in with this account (logging in through the EPISODES Platform SSO will be sufficient). However, to create more advanced applications, editing the code outside of the Application Workbench (from your own computer) might be advisable, and for this purpose you will be able to use this internal account.
Creating the account
The account within the Application Workbench can be created only after authenticating through the EPISODES Platform authentication system (people who are not the EPISODES Platform users are not authorized to create an account). Therefore, the first thing you will have to do after entering the Application Workbech Workbench is logging in with this authentication system. To do this, first use the Login button at the right upper corner of the service (Figure 1) or use the direct link: https://epos-apps.grid.cyfronet.pl/user/oauth2/unity.
Figure 1. Application Workbench main page with Login button marked.
This will present you with the Application Workbench account login page (Figure 2). As this is your first login, the credentials here are not yet configured, therefore, leave the form fields empty and use the Log in with EPISODES Platform button. Later, when you have your account configured, you can use the Username and Password fields to log in to the system as an alternative to the EPISODES Platform SSO when accessing the Application Workbench.
Figure 2. Application Workbench account login page
Upon this action, you will be redirected to EPISODES Platform authentication system, where you will be prompted for your EPISODES Platform user and password (see also this section in the Quick Start Guide) or automatically logged in, if your session with the EPISODES Platfrom Platform is already active. After successful login, you will be able to create the This action will automatically create an Application Workbench account (Figure 3). Here, you will have to type a username that you wish to have for the Application Workbench account, and an email address that will be associated with it. It is recommended to provide the same email address as the one used for the EPISODES Platform login. Note, that after this registration this screen will not be presented to you anymore, as the account will be already created.
Figure 3. Application Workbench account registration page
After clicking Complete Account, you will be redirected again to the Login page (Figure 2). Clicking the Log in with EPISODES Platform button again will now you into your newly created account. With subsequent logins, apart from the Log in with EPISODES Platform button you will be also able to use the username created in the previous step for the Application Workbench login, but to do that you will first have to create a password for the account (this action is not required).
for you, using the part before '@' of your EPISODES Platform username as the account name - e.g. if your username for EPISODES Platform was tcs-est-user@tcs.ah-epos.eu, the account name for Application Workbench will be tcs-test-user. You will see this account name within the screen that appears next (see Figure 2) - which is a view of an empty (with no applications yet) Application Workbench.
Figure 2. Application Workbench view after creation of the account (after first login)
In rare cases, when the default account name (the part before '@' of your EPISODES Platform username) is already taken, you will be prompted to create an account name yourself (Figure 3). Your e-mail and the default account name will be already pre-filled, however, as the account name was already used within the system, you will have to modify it (the e-mail does not have to be modified).
Figure 3. Creating new account name when the default is already taken
Setting a password to your Application Workbench account is not obligatory, as you always can login with your EPISODES Platform credentials. It is, however, required when modifying your applications directly from your computer using GIT commands or GUI, which is recommended for making more advanced modifications to your application files.
To set a password, go to the Settings page within the Application Workbench, which can be accessed from your profile menu (top right corner) as displayed in Figure 4.
Figure 4. Accessing the Settings page in Application Workbench
Once on the Settings page, navigate to the Account tab, choose the Forgot password? option (see Figure 5), and follow further instructions. Remember to provide the same e-mail address you used for the account registration (previous section).
Figure 5. Account tab of the Settings page with password setting option marked.
Connecting EPISODES Platform with Application Workbench account
Once the Application Workbench account is set, you are able to TODO, however, to use the applications access the Application Workbench, but all the operations will have to be done manually and the applications you create will not be visible within the EPISODES Platform or . To be able to use the complete functionality of creating and using your applications from the Platform's wizard that helps with creating a new applicationEPISODES Platform, you have to connect the account you just created to the EPISODES Platform. The connection is realized by providing the Platform with a user token generated for your account. In this way, we do not store any sensitive data (username and password) from of your Application Workbench account. Yet, yet, we are able to connect to the Application Workbench on your behalf. You can also use the token mechanism when editing application files on your computer, however, we recommend to use a different token (you can generate any number of them) for other purposes than connection with the EPISODES Platform.
Note, that, unlike previous steps, this starts with entering the EPISODES Platform.
To connect the account, go to the Profile and affiliations page andTo generate a token, go to the Settings page, which can be accessed from your profile menu (top right corner) as displayed in Figure 4.
Figure 4. Accessing the Settings page in Application Workbench
Anchor | ||||
---|---|---|---|---|
|
Figure 5. Applications tab of the Settings page with most important elements marked
This action will have two results on the screen - first, a success message (green) and a message with the token content (blue) will appear (see Figure 6). The content of the token has to be copied and pasted in the form in EPISODES Platform (see next paragraph). Note, that, after closing this screen, you will no longer be able to copy the token, as there are no options to display it later. In case you did it accidentally, and the token was not copied to the EPISODES Platform, you will have to delete the token and generate it again. A second result will be the freshly generated token appear under the Manage Access Tokens area, with the current date displayed.
Figure 6. Generated token displayed (marked)
You can revoke the generated token at any time (with the Delete button displayed in Figure 6), however, bear in mind that, in such case, the connection between your Application Workbench account and EPISODES Platform account will be lost. Generating a new token and configuring it instead of the revoked one will restore this connection.
After safely copying the token, enter the EPISODES Platform, log in, if you were not logged in already, go to the Profile and affiliations page and use the Connect to Application Workbench button (Figure
67).
TODO: nowe screen-shoty z profilu w Platformie (po ISL-4200)
Figure 67. Profile and affiliations page with Connect to Application Workbench button marked
This will display a form as in Figure 8, where you will be able to paste the previously copied token. After saving it (with Save token button visible on Figure 8), you should see information as on Figure 9 appearing instead of the form.
Figure 8. Form for inserting Application Workbench token within Profile and Affiliations page
Figure 9. Information that the Application Workbench account is connected
There is also an alternative way to create a token - if you set up the password for the Application Workbench account, instead of pasting the token in the form from Figure 8, you can click the Advanced button, provide your Application Workbench username and password and use the Generate token button (Figure 10). The enabling for either pasting a generated user token or for automatic generation of the token (Figure 7). To manually create a user token, follow the instructions in the Manual generation of user token section. This option is especially recommended if TODO. For automatic generation of the token, just providing your user and password for the Application Workbench account is required (the credentials are not stored by the Platform, they are used only for the process of generating the token for you. Note, that, to use this option, you will have to first set up the password for the Application Workbench account.
TODO: nowe screen-shoty z profilu w Platformie (po ISL-4200)
Figure 7. Profile and affiliations page with token input and genaration options
TODO Go to Gitea Profile and Settings and click Settings:
Figure 8. Accessing the Settings page in Application Workbench
Then go to Applications tab type Token Name (it can be any name eg. "EPISODES Platform") and click Generate Token:
Figure 5. Generate token
As a result you will see your unique Access Token. Copy it now as it wil not be shown again.
Figure 6. Copy token
You can revoke the generated token at any time, however, bear in mind that in such case the connection between your Application Workbench account and EPISODES Platform account will be lost. Generating a new token and configuring it instead of the revoked one will restore this connection.
TODO:
Dodać informację że bez loginu jest czasem 404.
Figure 10. Form for generating Application Workbench available after clicking 'Advanced' button
Anchor SettingPassword SettingPassword
Setting password for the Application Workbench account
SettingPassword | |
SettingPassword |
Setting a password to your Application Workbench account is not obligatory, as you always can login with your EPISODES Platform credentials. It is, however, required when modifying your applications directly from your computer using GIT commands or GUI, which is recommended for making more advanced modifications to your application files.
To set a password, go to the Settings page within the Application Workbench, which can be accessed from your profile menu (top right corner) as displayed in Figure 4. Once on the Settings page, navigate to the Account tab, choose the Forgot password? option (see Figure 11), and follow further instructions. Remember to provide the same e-mail address you used for the account registration (previous section).
Figure 11. Account tab of the Settings page with password setting option marked.
Related Documents
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|