Infra:members: Difference between revisions

From UNamur InfoSec
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== How to manage authorized users ==
== How to manage authorized users ==


1. Connect to django admin : oauth.infosec.unamur.be/admin
1. Connect to django admin : https://oauth.infosec.unamur.be/admin  


2. Click "Authorized users"
2. Add a user by visiting users section: https://oauth.infosec.unamur.be/admin/auth/user/. Fill in the username and the password and the confirmed password. The username will be used for all the applications of Infosec Team. For consistency, the choice of the '''username''' should be identical to the UNamur eid.


3. Add or remove the user and use the UNamur username as username
3. Once the user is added, go to the user section and click on that user. From there user personal information such as first name, last name and email can be filled in. The two options below have to be checked:
* To activate the user, check the box ''Active''. This will allow the user to log in to other applications
* ''Staff status'' will allow the user to log in to admin site to change their password.
 
4. To '''deactivate''' a user, uncheck the boxes ''Active'' and ''Staff status''.


== How to add an admin user to the application ? ==
== How to add an admin user to the application ? ==
Line 13: Line 17:
2. Go to "Users" section
2. Go to "Users" section


3. Change to user information to add him staff or super user statsu
3. Change to user information to add him staff or super user status
 
== Add oauth application ==
 
You can add a oauth application by going to : oauth.infosec.unamur.be/oauth/applications
 
Please note that, when configuring client application, you should use these urls for oauth :
 
https://oauth.infosec.unamur.be/oauth/authorize/
 
https://oauth.infosec.unamur.be/oauth/token/
 
https://oauth.infosec.unamur.be/api/user/
 
''' Trailing slashes are mandatory '''

Latest revision as of 08:57, 10 January 2023

How to manage authorized users

1. Connect to django admin : https://oauth.infosec.unamur.be/admin

2. Add a user by visiting users section: https://oauth.infosec.unamur.be/admin/auth/user/. Fill in the username and the password and the confirmed password. The username will be used for all the applications of Infosec Team. For consistency, the choice of the username should be identical to the UNamur eid.

3. Once the user is added, go to the user section and click on that user. From there user personal information such as first name, last name and email can be filled in. The two options below have to be checked:

  • To activate the user, check the box Active. This will allow the user to log in to other applications
  • Staff status will allow the user to log in to admin site to change their password.

4. To deactivate a user, uncheck the boxes Active and Staff status.

How to add an admin user to the application ?

1. Connect to django admin

2. Go to "Users" section

3. Change to user information to add him staff or super user status

Add oauth application

You can add a oauth application by going to : oauth.infosec.unamur.be/oauth/applications

Please note that, when configuring client application, you should use these urls for oauth :

https://oauth.infosec.unamur.be/oauth/authorize/
https://oauth.infosec.unamur.be/oauth/token/
https://oauth.infosec.unamur.be/api/user/

Trailing slashes are mandatory