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

Feature Request: Add an error callback to CheckSessionIFrame #1736

Open
EmperorArthur opened this issue Nov 7, 2024 · 2 comments
Open

Feature Request: Add an error callback to CheckSessionIFrame #1736

EmperorArthur opened this issue Nov 7, 2024 · 2 comments

Comments

@EmperorArthur
Copy link

I have encountered at least one custom OIDC server which returns "error" if a user is not logged in.

Unfortunately, the only ways to do something with this information is to use hacks or bypass "CheckSessionIFrame" completely. I would like to add an onError callback or similar to be able to handle this situation. It may also be useful in other scenarios as well.

@pamapa
Copy link
Member

pamapa commented Dec 10, 2024

Would be nice if you can provide a MR to have an optional settings to do so...

@EmperorArthur
Copy link
Author

Would be nice if you can provide a MR to have an optional settings to do so...

Corporate work. :( I don't need permission to open an Issue, but do to contribute code.

I'll see what I can do.

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