You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
microcks login – Authenticate with a Microcks Instance
Log in to a Microcks instance using username/password or SSO. Creates or updates a CLI context with authentication details.
Examples
# Login to microcks using a username and password
microcks login http://locahost:8080
# Provide name to your logged in context (Defautl context name is server name)
microcks login http://localhost:8080 --name
# Provide username and password as flags
microcks login http://localhost:8080 --username --password
# Perform SSO login
microcks login http://localhost:8080 --sso
# Change port callback server for SSO login
microcks login http://localhost:8080 --sso --sso-port
# Get OAuth URI instead of getting redirect to browser for SSO login
microcks login http://localhost:8080 --sso --sso-launch-browser=false
Options
Flag
Description
-h, --help
help for login
--name
Name to assign the context (default: server URL)
--username
Username for login
--password
Password for login
--sso
Perform Single Sign-On (OIDC-based) login
--sso-launch-browser
Launch system browser for SSO (default: true)
--sso-port
Local port to use for SSO callback server (default: 58085)