Giter Site home page Giter Site logo

Documentation about pam-exec-oauth2 HOT 2 OPEN

shimt avatar shimt commented on May 25, 2024
Documentation

from pam-exec-oauth2.

Comments (2)

Glowsome avatar Glowsome commented on May 25, 2024

@willfurnell
i am using this with a NetIQ (now called Microfocus) AccessManager and works fine.
Still fiddling around, but this gives successfull authentication :
`{
client-id: "",
client-secret: "",
redirect-url: "urn:ietf:wg:oauth:2.0:oob",
scopes: ["email"],
endpoint-auth-url: "https://your AccessManager/nidp/oauth/nam/authz",
endpoint-token-url: "https://your AccessManager/nidp/oauth/nam/token",
extra-parameters: {
acr: "saml/secure/form/password/smartphone"
},
username-format: "%s",
}
``
As you can see i have adapted the 'extra-parameter' to request a specific authentication contract from my box.
If you were to remove it it will authenticate you with the default authentication contract.

On the Accessmanager the client config is quite simple (for testing-purposes)
afbeelding

from pam-exec-oauth2.

alerque avatar alerque commented on May 25, 2024

As another data point that could be documented, here is a working config file using this PAM module to connect to a Keycloak server:

{
   client-id: pam,
   client-secret: <REDACTED>,
   scopes: ["profile"],
   endpoint-token-url: "https://keycloak.example.com/auth/realms/<REALM_NAME>/protocol/openid-connect/token",
   extra-parameters: {
   },
}

This uses a custom client setup on the Keycloak end called "pam" with settings that look like this:

image

from pam-exec-oauth2.

Related Issues (9)

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.