-
Notifications
You must be signed in to change notification settings - Fork 51
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
Authentication Information #42
Comments
@connormanning mainly I am interested in how to configure the authentication server to make it work with greyhound. Thanks! |
Hello @connormanning, I have been trying to configure an authentication server, but I don't see where or how greyhound will check for the cookie for a specific user and not a general cookie. Could you please let me know? Thanks! |
See docs here. For authentication server functionality, your project needs to store a cookie that is identifiable to the current user, e.g. a login token. Then set that user-identifiable cookie name as your configuration value for |
@connormanning thank you. It just was not very clear to me the cookie workflow from the docs. Does Greyhound pick the login token cookie which name is specified in ("auth.cookieName") from the user and then validates it in the auth server t check for access to a resource? Thanks. I will give it a try. |
Greyhound will make requests to |
Thank you @connormanning. I am still trying to solve it. It looks like it is always authenticating the user, even if it should not. Need to see why the authentication feature is not working. Thanks. |
I've verified against a sample auth server that just sends
...with Greyhound configuration:
I'd recommend building up from something trivial like this. |
thank you so much @connormanning . I am trying to run this example but I am always getting the following error from greyhound. What do you think it could be? """ |
@connormanning just so you know. The error was that I needed to map the network to the docker container too with ( sudo docker run --net="host") . So that my host and docker container 127.0.0.1:8081 were the same. Thanks for everything. I think I got it from here. |
Hello @connormanning, could you please give more details about how to use the authentication functionality of greyhound? I am trying to add this feature in an EC2 instance. Thanks!
The text was updated successfully, but these errors were encountered: