Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildWithBaseURLPath return only last part of url #579

Open
agrisvv opened this issue Mar 17, 2024 · 1 comment
Open

buildWithBaseURLPath return only last part of url #579

agrisvv opened this issue Mar 17, 2024 · 1 comment

Comments

@agrisvv
Copy link

agrisvv commented Mar 17, 2024

Example of url
basepath: https://example.com/custom
assertion url: https://example.com/custom/login/idpname

Then function buildWithBaseURLPath returns:
https://example.com/custom/idpname

In result thow exception:
The response was received at https://example.com/custom/idpname instead of https://example.com/custom/login/idpname

Resolutions:
need to use all parts of url not only the last.

@joelpittet
Copy link

@agrisvv I am running into this exact issue too, thanks for posting it.

I'll post a PR for a potential fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants