Skip to content
Discussion options

You must be logged in to vote

The issue seems to be when getting the profile:

    at Client.userinfo (/home/leonardo/mci-servers-v2/node_modules/openid-client/lib/client.js:1124:18)

Just a guess, but maybe try without a trailing slash /, like so: userinfo: "https://www.example.net/api/core/me". Maybe their backend doesn't handle the request with a trailing slash?

It's also possible that some of this would be needed here: #2717

I think client_id, code, redirect_uri, client_secret, grant_type are params you don't have to set yourself, but inferred by openid-client.

If you define authorization as an object, there is a request option, where you can create the request however you want. It could be useful to get it to work…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@leo-petrucci
Comment options

@balazsorban44
Comment options

@leo-petrucci
Comment options

@leo-petrucci
Comment options

@leo-petrucci
Comment options

Answer selected by balazsorban44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants