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.

SSO Auth Doesn't Work for Endpoints

See original GitHub issue

Stratos Version

4.2.0

Frontend Deployment type

  • Cloud Foundry Application (cf push)
  • Kubernetes, using a helm chart
  • Docker, single container deploying all components
  • npm run start
  • Other (please specify below)

Backend (Jet Stream) Deployment type

  • Cloud Foundry Application (cf push)
  • Kubernetes, using a helm chart
  • Docker, single container deploying all components
  • Other (please specify below)

Expected behaviour

Performing SSO auth to a CF endpoint should redirect to the SSO token page.

Actual behaviour

The frontend returns a 405 Method Not Allowed.

Steps to reproduce the behavior

  1. Configure an SSO login with Stratos for a Cloud Foundry endpoint.
  2. Attempt to connect to the endpoint using SSO

Log output covering before error and any error statements

Insert log hereCopy

Additional notes

Jetstream listens for SSO auth as of the latest version at GET /pp/v1/auth/tokens, but the frontend attempts to reach it on GET /api/v1/tokens. This gets picked up by the non-SSO auth handler, which only responds to POST methods, hence the 405 error code response from the routing library. Unsure if by design that the backend or frontend path is correct, so I’ve held off on a PR, but the fix depends on the two agreeing on the path.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
richard-coxcommented, Oct 28, 2020

4.2.1 has now been released

0reactions
richard-coxcommented, Oct 26, 2020

Fixed via #4719. This will be in the 4.2.1 release which should be out this week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot single sign-on setup issues in Office 365, Intune ...
On a configured client computer, test the expected SSO authentication experience. To do this, authenticate by using a federated user account. You may...
Read more >
API Endpoints for Single Sign-On - Auth0
Describes Auth0 Authentication API and Management API endpoints relevant when implementing Single Sign-on (SSO).
Read more >
Solved: SSO not working with Endpoint VPN Client
I am doing a CheckPoint Endpoint VPN migration to multiple customers and we authenticate using SAML SSO, the integration works fine , however ......
Read more >
SSO not working | Troubleshooting active directory issues
If the login page is modified, Pass Through authentication will not work as it can't make use of the session variables set in...
Read more >
[KB7241] Resolve the intranet single sign-on authentication ...
... Single sign-on does not work with TLS filtering enabled in ESET endpoint products when accessing intranet sites using HTTPS ...
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