col-panic commented on issue #271:
URL: https://github.com/apache/openserverless/issues/271#issuecomment-6349945055

   thanks for all the input, but somehow I can't get this to work. I created a 
separate docker container based on debian
   and installed the ops cli plus the required tools (docu should mention to 
have tools like zip, curl and ssh already available,
   else you will get output like `failed preflight check: curl not installed 
but is required`)
   
   Running like this
   ```
   
root@7b39c5551b94:~/openserverless-cli_0.9.0-incubating+26i11g51-snapshot_linux_arm64#
 OPS_APIHOST=https://openserverless.somehost.com ./ops -login  --sso-flow 
password --sso-username mdescher
   Using the default user: openserverless
   Logging in https://openserverless.somehost.com as openserverless
   Enter Password: 
   ```
   does not work, it's also showing the wrong username?! This does not match 
documentation.
   
   My real target is to be able to have an sso login for a non-existing user to 
auto-create `ops -wsk` namespace etc. ATM I'm not really sure, if this is the 
right way at all?!
   
   I thought of something like this
   ```
   User musterfrau (does exist in sso, but not in openserverless)
   
   OPS_APIHOST=https://openserverless.somehost.com./ops -login  --sso-flow 
password --sso-username musterfra
   (Authenticates via keycloak)
   ops -wsk action list
   (now works with empty list, but namespace etc all created)
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to