Hi All, I have seen some posts relating to this but the suggested fix’s are not working for me.
I am implementing Okta Web application with server-side authentication. The server is set up using express.
I am getting this error: Error: The response type is not supported by the authorization server. Configured response types: [code]
Okta signin page does not load, always falls with the error.
Code snippet.
`const oidc = new ExpressOIDC({
issuer: oktaIssuer,
client_id: oktaClientId,
client_secret: oktaClientSecret,
redirect_uri: redirectUri,
scope: 'openid profile email',
response_type: 'code',
appBaseUrl: appBaseUrl,
routes: {
login: {
path: '/login',
},
loginCallback: {
path: '/login/callback',
handler: (req, res, next) => {
console.log('Callback route accessed');
console.log('Session data before callback:', req.session);
next();
},
},
},
});
`
![Capture|643x500](upload://xQtZ1Tnp9Bdilnn7EPS5jFSa8vi.jpeg)
Any help would be appreciated, thank you