okta / samples-nodejs-express-4

Express 4 samples. Will publish an artifact that can be consumed by end-to-end sample repos
Other
120 stars 117 forks source link

How to add IDP to the OIDC Middleware config options? #50

Open jayanthv86 opened 6 years ago

jayanthv86 commented 6 years ago

I am unable to find documentation on how to add IDP IDs to the OIDC middleware config to display social authentication for this particular example (nodejs-express).

{ "webServer": { "port": 8080, "oidc": { "clientId": "xxxx", "clientSecret": "xxxx", "issuer": "https://jay.okta.com/oauth2/xxxxxx", "redirectUri": "http://localhost:8080/authorization-code/callback", "scope": "openid profile email" } }, "resourceServer": { "port": 8000, "oidc": { "issuer": "https://jay.okta.com/oauth2/xxxxxx" }, "assertClaims": { "aud": "api://default", "cid": "xxxxxx" } } }

robertjd commented 6 years ago

Hi @jayanthv86 , I assume you're trying to find a way for this library to add an idp= paramater to the /authorize URL request? I don't think this library provides a way to do that right now.