GithubHelp home page GithubHelp logo

Installation about sso HOT 2 OPEN

houmanb avatar houmanb commented on August 24, 2024
Installation

from sso.

Comments (2)

maanas avatar maanas commented on August 24, 2024

I can help you along. If you can setup a dev server. I can spare an hour on weekend to get it going. I m not really sure about postgres. I believe openresty comes with drizzle. So you are good. I m not sure how you return json. As module heavily relies on json returns from the mysql.
my gtalk and skype id is m4manas

On 19-Dec-2013, at 8:49 PM, houmanb [email protected] wrote:

Hi,
I'm a newbe in using nginx. I would really like to setup a test project using sso.
Is there a HOWTO about the installation of sso. I've already managed to install openresty and started nginx. I have a postgres DB and could rewrite your SQL code in order to load it into DB. I could easliy adapt your config in order to use ngx_postgres instead of drizzle. But I don't have any clue about how to install and have a look at your sso example.
Any help or docs would be appreciated.

Bye
B.


Reply to this email directly or view it on GitHub.

from sso.

houmanb avatar houmanb commented on August 24, 2024

Hi,
Thanks a lot, this was a prompt reply I didn't expected.
I'll setup a dev server incl. mysql (drizzle). I don't want to complicate
the situation by changing the environment.
I can walk the remaining part of the way on my own :-)

Regards

B.

I manage the connection/json return using the following config:

http {

upstream smarties {
postgres_server 127.0.0.1 dbname=smarties user=postgres;
}

server {
listen 8080;
server_name localhost;
location /public/auth {

postgres_pass smarties;
rds_json on;
set_unescape_uri $user $arg_user;
set_unescape_uri $pass $arg_pass;

postgres_escape $escaped_user $user;
postgres_escape $escaped_pass $pass;

postgres_query HEAD GET "SELECT * FROM
authenticate($escaped_user,$escaped_pass)";
postgres_rewrite no_rows 401;
}
}

On Thu, Dec 19, 2013 at 4:35 PM, maanas [email protected] wrote:

I can help you along. If you can setup a dev server. I can spare an hour
on weekend to get it going. I m not really sure about postgres. I believe
openresty comes with drizzle. So you are good. I m not sure how you return
json. As module heavily relies on json returns from the mysql.
my gtalk and skype id is m4manas

On 19-Dec-2013, at 8:49 PM, houmanb [email protected] wrote:

Hi,
I'm a newbe in using nginx. I would really like to setup a test project
using sso.
Is there a HOWTO about the installation of sso. I've already managed to
install openresty and started nginx. I have a postgres DB and could rewrite
your SQL code in order to load it into DB. I could easliy adapt your config
in order to use ngx_postgres instead of drizzle. But I don't have any clue
about how to install and have a look at your sso example.
Any help or docs would be appreciated.

Bye
B.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-30937895
.

from sso.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.