question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bearer error on user info proxied request to ADFS

See original GitHub issue

Issue and Steps to Reproduce

Receiving Bearer error invalid token on user info endpoint proxied request to Microsoft ADFS.

Versions

@axa-fr-react-oidc v6.0.0-alpha1 node 14.20.0

Screenshots

Screenshot 2022-07-19 104459

Additional Details

Using proxy due to organization’s CORS policy. Authority configuration snippet:

const AUTH_CONFIG: AuthorityConfiguration = {
  authorization_endpoint: `${CONFIG.OIDC_URL}/oauth2/authorize/`,
  token_endpoint: `./proxy/proxy.ashx?${CONFIG.OIDC_URL}/oauth2/token/`,
  userinfo_endpoint: `./proxy/proxy.ashx?${CONFIG.OIDC_URL}/userinfo`, // not working?
  end_session_endpoint: `${CONFIG.OIDC_URL}/oauth2/Logout`,
  revocation_endpoint: 'notimplented'
}

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
hagenderouencommented, Jul 22, 2022

@guillaume-chervet This was de-prioritized in our project. I will test in future iterations. Thank you for your prompt action.

0reactions
guillaume-chervetcommented, Nov 2, 2022

Hi @hagenderouen , with the use of service worker, you need to configure all used domain in trusteddomain.js. It is a security need.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ADFS-Event id 111 and ADFS Proxy- Event ID 364
ADFS Event ID 111 Details: The Federation Service encountered an error while processing the WS-Trust request. Request type: http://schemas.
Read more >
OAuth2 Proxy unable to process value returned from ADFS
I've reviewed the OAuth2 Proxy documentation and the properties of the application group, and I don't see a way to specify the flow...
Read more >
SupportArticles-docs/adfs-error-401-requested-resource ...
To resolve this problem, try to run the AD FS proxy configuration wizard again. As the wizard runs, make sure that valid domain...
Read more >
Using AD FS for client authentication - Pexip Infinity Docs
This token proves that the user has successfully authenticated with AD FS. ... Web Application Proxy (WAP) role, which proxy requests to the...
Read more >
Unauthorized access 401 while accessing openid userinfo ...
The response fails with '401' Unauthorized error. Event logs from ADFS server is listed below: (1)Received request with following properties: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found