Hey guys,

as I am on it already:

What is the best approach to use CAS in conjunction with a command line 
tool to login to a secured service? I read through the documentation and 
the first problem seems to be that I am not in a browser context. Am I 
forced to talk to the CAS REST API? Or are there other ways to solve the 
authentication?

At the moment I would:
1) Talk to the CAS REST API to get a JWT token and store it when executing
> awesome-command login <username>

2) Use the token to talk to my REST API for subsequent commands
> awesome-command init <project name>

Cheers,
  Paul

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/1bf5fac4-7641-46ba-9fe5-cba5005f9c57%40apereo.org.

Reply via email to