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.
poetry shell
poetry install
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