Comments (2)
@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)
from pam-exec-oauth2.
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:
from pam-exec-oauth2.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pam-exec-oauth2.