Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 610 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 610 Bytes

eduTEAMS CLI

The eduTEAMS Command Line Interface allows the user to login using the Device Code Flow and retrieve an access_token, an id_token and a refresh_token.

Install eduteams-cli in venv

poetry shell
poetry install

Run eduTEAMS CLI

Set the scopes that you want to request:

export EDUTEAMS_SCOPE="openid profile"

Set the client id of your application:

export EDUTEAMS_CLIENT_ID="APP-12345-56789"

Set the issuer for the discovery code flow:

export EDUTEAMS_ISS="https://webapp.eduteams.org/oidc"

Run the application:

eduteams-cli login