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

How to send custom request that acceptable by mocksaml? #307

Open
ioiofadhil opened this issue Sep 20, 2023 · 1 comment
Open

How to send custom request that acceptable by mocksaml? #307

ioiofadhil opened this issue Sep 20, 2023 · 1 comment

Comments

@ioiofadhil
Copy link

Hi, thanks for the app. Helps a lot.
I just learn how SSO works with ReactJS with Laravel as a backend.
The flow that I made is kinda like this :

ReactJS -> Pop Up SSO Mocksaml -> Everything Good ->
Laravel listens -> Share success to websocket with some users data ->
ReactJS Receives

But currently, ReactJS listens to all channel that websocket has.
I want to be able to decide what channels for each client listen by generating some custom attribute before hit the SSO login link.
Is that possible to send a custom attribute request to login SSO link so Mocksaml can send it after the success response?

Thanks!

@niwsa
Copy link
Member

niwsa commented Sep 23, 2023

@ioiofadhil You could use the RelayState queryparam in the request towards the SSO endpoint.

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