Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DojoCLI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dojo Project (HES-SO)
Projects
UI
DojoCLI
Merge requests
!2
Adds a first version of the wiki documentation
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Adds a first version of the wiki documentation
add_wiki_doc
into
main
Overview
0
Commits
50
Pipelines
8
Changes
2
Merged
orestis.malaspin
requested to merge
add_wiki_doc
into
main
1 year ago
Overview
0
Commits
50
Pipelines
8
Changes
2
Contains:
CLI user doc
Assignment creation tutorial
How to perform exercise tutorial
0
0
Merge request reports
Viewing commit
e6ad3784
Prev
Next
Show latest version
2 files
+
2
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
e6ad3784
Wiki => Add tips to add exercise members at exercise creation
· e6ad3784
michael.minelli
authored
1 year ago
Wiki/UserDocumentation/1-Authentification.md
0 → 100644
+
49
−
0
View file @ e6ad3784
Edit in single-file editor
Open in Web IDE
# Authentication to the Dojo
The authentication is done in two steps: login into the dojo app and into https://gitedu.hesge.ch (through an API token).
1.
Login into the dojo application:
```
bash
dojo session application login
--user
<email>
```
```
console
? Please enter your password [hidden]
Please wait while we are logging in you to Dojo...
✔ Logged in
✔ Teaching staff permissions
✔ Student permissions
```
2.
Register the API token (see below) for Gitlab
```
bash
dojo session gitlab login <token>
```
```
console
Please wait while we are testing your Gitlab token...
ℹ Checking Gitlab token:
✔ Read access
✔ Write access
```
The API token can be created by (see
<https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html>
for more informations):
-
Logging into
<https://gitedu.hesge.ch>
-
**Preferences -> Access Tokens**
-
Give a name to your token and a validity
-
Tick the
**api**
box
-
Click the
**Create personal access token**
3.
Test if it is working
```
bash
dojo session
test
```
```
console
ℹ Checking Dojo session:
✔ The session is valid
✔ Teaching staff permissions
✔ Student permissions
ℹ Checking Gitlab token:
✔ Read access
✔ Write access
```
Good news. You can use the Dojo!
Loading