Installation
Run the following commands to install:
wget https://repo.gluu.org/centos/Gluu-centos7.repo -O /etc/yum.repos.d/Gluu.repo
wget https://repo.gluu.org/centos/RPM-GPG-KEY-GLUU -O /etc/pki/rpm-gpg/RPM-GPG-KEY-GLUU
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-GLUU
yum clean all
yum install gluu-server
After installation, the Gluu-server package needs to be excluded from automatic updates using the following command:
yum versionlock gluu-server
The Gluu Server is a chroot container, which must be started to proceed. Run the following commands to start the server and login:
/sbin/gluu-serverd enable
/sbin/gluu-serverd start
/sbin/gluu-serverd login
Configuration
Configuration is completed by running the setup script from inside the chroot container. This generates certificates, salt values, and renders configuration files. Run the script with the following commands:
cd /install/community-edition-setup
./setup.py
Endpoints
Discovery endpoint
https://fioiam.gluu.org/.well-known/openid-configuration
Authorization Code endpoint
GET http://fioiam.gluu.org/oxauth/restv1/authorize
- Query params: response_type("code") , redirect_uri, client_id
- Response: authorization code received as query param in redirect_url
Authorization Token endpoint
POST https://fioiam.gluu.org/oxauth/restv1/token
- Basic Auth (client id + c;ient secret) ~ Authorization Header required
- Body- x-www-urlencoded params: code, grant_type, redirect_uri
Token Introspection endpoint
POST https://fioiam.gluu.org/oxauth/restv1/introspection
- Basic Auth (client id + client secret) ~ Authorization Header required
- Header: Content-Type: application/x-www-form-urlencoded
- Body: x-www-urlencoded params: token(required), response_as_jwt(optional)