Skip to content
Snippets Groups Projects
Commit 4b85474d authored by Ondrej Dvorak's avatar Ondrej Dvorak Committed by Jan Siwiec
Browse files

Update dice.md

parent 2eb34de7
No related branches found
No related tags found
1 merge request!379Update dice.md
......@@ -90,17 +90,16 @@ lup005@ubuntu20:~$ umount ~/IRODS
#### iCommand
- this is only linux client, basic knowledge of command line is neccessary
- we tested it on centos7 a ubuntu20
- this is linux client only, basic knowledge of command line is neccessary
- we tested it on centos7
- for ubuntu20 - there is [http://docs.snic.se/wiki/IRODS_iCommands_installation_on_Ubuntu_20.04#Authenticate_and_test_iRODS_iCommands_client][j]
```console
wget https://packages.irods.org/irods-signing-key.asc
wget -qO - https://packages.irods.org/renci-irods.yum.repo | sudo tee /etc/yum.repos.d/renci-irods.yum.repo
sudo yum install epel-release -y
sudo yum install irods-icommands-4.2.11-1.x86_64 -y
sudo yum install irods-icommands
mkdir ~/.irods/
wget https://github.com/Cotagge/irods_addons_rpms/raw/main/irods-auth-plugin-openid-2.2.1-1.x86_64.rpm
sudo yum install irods-auth-plugin-openid-2.2.1-1.x86_64.rpm
```
Copy&paste + edit irods_user_name
......@@ -112,8 +111,7 @@ Copy&paste + edit irods_user_name
"irods_port": 1247,
"irods_zone_name": "IT4I",
"irods_user_name": "b2access_username",
"irods_authentication_scheme": "openid",
"openid_provider": "keycloak_openid",
"irods_authentication_scheme": "PAM",
"irods_ssl_verify_server": "cert"
}
```
......@@ -128,7 +126,7 @@ dr-xr-x---. 6 root root 206 Sep 29 08:53 ..
-rw-r--r--. 1 root root 253 Sep 29 08:14 irods_environment.json
```
### How to Start:
**How to Start:**
**step 1:**
......@@ -138,21 +136,22 @@ dr-xr-x---. 6 root root 206 Sep 29 08:53 ..
**step 2:**
Copy the link (second one) which you got from the terminal to the browser or just ctrl+left_mousebutton
example:
```
https://authserver...:8443/auth/realms/IT4i_AAI/protocol/openid-connect/auth?nonce=1cc259e35a0043fb871abb79185d6d838d2b99060baa5bf635515181df9c942b&state=701842d9867655918ca165f6d7635a155723afb4d37afff0cf550e77114bc519&redirect_uri=https://irods-api.it4i.cz:8443/authcallback&client_id=IT4I_IRODS_AUTH&&scope=openid&response_type=code&access_type=offline&prompt=login%20consent
```console
[root@irods-client .irods]# iinit
Enter your current PAM password:
[root@irods-client .irods]# ils
/IT4I/home/dvo0012:
file.jpg
file2.png
file3.test
file4.txt
file5.xlsx
```
Click the `Log in with B2ACCESS` authorization and continue authentication flow.
You have to see this output `Successfully authenticated user. The browser tab can be safely closed.` in the browser.
Current problem: after validating the authorization token, it becomes passed and any new command, such as `ils` creates new authorization at keycloak.
For more commands, use the `ihelp` command.
[1]: irods.cyberduckprofile
[b]: http://www.diceproject.eu/
[c]: https://irods.org/
[d]: https://b2access.eudat.eu/
......@@ -160,3 +159,4 @@ Current problem: after validating the authorization token, it becomes passed and
[g]: https://ds.myaccessid.org/
[h]: https://www.eudat.eu/contact-support-request?Service=B2SAFE
[i]: https://cyberduck.io/download/
[j]: http://docs.snic.se/wiki/IRODS_iCommands_installation_on_Ubuntu_20.04#Authenticate_and_test_iRODS_iCommands_client
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment