Skip to content
Snippets Groups Projects
Commit 59f3326f authored by Franck Bret's avatar Franck Bret
Browse files

Use keycloak configuration mechanism and add a 'swh auth config' command

Add configuration file argument to auth command group

Use keycloak default configuration and defaults method to load and merge
configuration (env > params > user configuration file > default auth
configuration > defaultvalues)

Add swh auth config command which can generate a token by providing a
username (password will be asked by a prompt), or verify a provided
token. If the token is valid user can save the authentication
configuration with token to authentication configuration file which
default to auth.yml
parent e4f31567
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment