Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need Help running Client and Server which are throwing errors/frozen. #86

Open
mithmnjrkr opened this issue Aug 20, 2019 · 1 comment
Open

Comments

@mithmnjrkr
Copy link

mithmnjrkr commented Aug 20, 2019

When running the client UI which is supposed to show the token it won't open anything & server with google Oauth constantly gives Unauthorized even though It has the correct authorization credentials.

I have added sample commands and configs used to run it.
Need help running this is there any simple manual I can refer to.
To open/view the token on UI I'm using this.

./cashier --ca "http://sshca.example.com:11000"

@mithmnjrkr
Copy link
Author

mithmnjrkr commented Aug 20, 2019

Config passed to the server in the below way

./cashierd -config_file cashier.conf

server {
address = "0.0.0.0" # Optional. IP address to listen on
port = 11000 # Port to listen on
http_logfile = "/home/user/Desktop/cashier_linux_amd64/http.$
cookie_secret = "supersecret" # Authentication key for the $
csrf_secret = "supersecret" # Authentication key for the CS$
database {
type = "mysql"
dbname = "test"
address = "localhost:3306"
username = "root"
password = "root"
}
}

ssh {
signing_key = "/home/user/Desktop/cashier_linux_amd64/ssh_ca$
additional_principals = ["ubuntu", "user", "mithil"] # Addi$
max_age = "7200h" # Maximum lifetime of a ssh certificate
permissions = ["permit-pty", "permit-X11-forwarding"] # Pe$
}

auth {
provider = "google" # Oauth provider to use
oauth_client_id = ""
oauth_client_secret = "
*"
oauth_callback_url = "http://sshca.example.com:11000/auth/callback
provider_opts {
domain = "gmail.com"
}
users_whitelist = ["mymail@gmail.com"]
}

@mithmnjrkr mithmnjrkr changed the title When running client the UI which is supposed to show the token won't open & server with google Oauth constantly gives Unauthorized even though It has the correct authorization credentials. When running the client UI which is supposed to show the token it won't open anything & server with google Oauth constantly gives Unauthorized even though It has the correct authorization credentials. Aug 20, 2019
@mithmnjrkr mithmnjrkr changed the title When running the client UI which is supposed to show the token it won't open anything & server with google Oauth constantly gives Unauthorized even though It has the correct authorization credentials. When running the client UI which is supposed to show the token it won't open anything & server with google Oauth constantly gives Unauthorized even though It has the correct authorization credentials.I have added sample commands and configs used to run it. Aug 20, 2019
@mithmnjrkr mithmnjrkr changed the title When running the client UI which is supposed to show the token it won't open anything & server with google Oauth constantly gives Unauthorized even though It has the correct authorization credentials.I have added sample commands and configs used to run it. When running the client UI which is supposed to show the token it won't open anything & server with google Oauth constantly gives Unauthorized even though It has the correct authorization credentials.I have added sample commands and configs used to run it. Aug 20, 2019
@mithmnjrkr mithmnjrkr changed the title When running the client UI which is supposed to show the token it won't open anything & server with google Oauth constantly gives Unauthorized even though It has the correct authorization credentials.I have added sample commands and configs used to run it. Need Help running Client and Server which are throwing errors/frozen. Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant