apache / apache/shiro

[Enhancement] Form resubmit without a login page

Open
#2,232 0 comments 0 reactions 1 assignee Claimed by @lprimak View on GitHub
CLA jakartaee java shiro-2.0.0 valid
Dominant language
Java
Stars
4.5k
Forks
2.3k
Avg merge
1d 49m
Merged PRs (30d)
26

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/shiro/issues?q=is%3Aissue) and found no similar issues.

### Enhancement Request

Currently, Shiro will resubmit forms upon session timeout and subsequent re-login.
However, when login page and/or flow is not configured, it would be nice to have form resubmitted as well, even without the "session expired" screen

### Describe the solution you'd like

Hook into session expired flow and resubmit form there, instead of just doing it after login succeeded.
May require some configuration to be able to disable this behavior, if necessary.

### Are you willing to submit PR?

- [x] Yes I am willing to submit a PR!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.