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

Add session timeout #517

Merged
merged 6 commits into from
Jan 17, 2025
Merged

Add session timeout #517

merged 6 commits into from
Jan 17, 2025

Conversation

celuchmarek
Copy link
Member

@celuchmarek celuchmarek commented Jan 16, 2025

Toto funguje pomerne OK, prijímam pripomienky. Testoval som s eID klientom prihlásením na sk.sk. V momente ako vyprší timeout sa pýta BOK na prihlásenie a teda token sa zjavne uvoľní tak ako chceme. Pri každom použití (čiže sign) sa timeout obnoví na 5 minút.

@celuchmarek celuchmarek requested a review from jsuchal January 16, 2025 16:04
@celuchmarek
Copy link
Member Author

Rieši #328

Copy link
Member

@jsuchal jsuchal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skusil som lokalne a funguje dobre

@jsuchal
Copy link
Member

jsuchal commented Jan 16, 2025

@celuchmarek mozno otazka ci ten timeout nedat konfigurovatelne alebo vlastne ze kolko trva kym ta session na karte zomrie?

@celuchmarek
Copy link
Member Author

Tiež mi napadlo, že to hodíme do nastavení. Mne nejde ani tak o prerušenie session s kartou ako o to blokovanie eid klient prihlasovania. 5 minút mi príde taký dobrý čas, ale to som si vycucal z prsta. Dal by som do nastavení a default 5.

@jsuchal
Copy link
Member

jsuchal commented Jan 17, 2025

Spravme tak

@celuchmarek
Copy link
Member Author

Snímka obrazovky 2025-01-17 o 15 24 39

@celuchmarek
Copy link
Member Author

Napísal som to do nastavení takým jednoduchým jazykom. Token session timeout by nevyzeral moc dobre. @jsuchal

@celuchmarek
Copy link
Member Author

Snímka obrazovky 2025-01-17 o 15 31 37

@jsuchal
Copy link
Member

jsuchal commented Jan 17, 2025

@celuchmarek mierne ma tam rusi ten velmi dlhy input na nieco co bude mat maximalne 1 cifru.

@celuchmarek
Copy link
Member Author

Snímka obrazovky 2025-01-17 o 15 46 07

@celuchmarek
Copy link
Member Author

celuchmarek commented Jan 17, 2025

@jsuchal dal som druhé najmenšie z govuk. To najmenšie mi prišlo príliš úzke a zle by vyzeralo.

@celuchmarek celuchmarek merged commit b202e3b into main Jan 17, 2025
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants