Skip to content

Fix auth state AuthnInstant#2478

Merged
tvdijen merged 2 commits intosimplesamlphp:masterfrom
m0ark:fix-auth-state-authninstant
Jun 30, 2025
Merged

Fix auth state AuthnInstant#2478
tvdijen merged 2 commits intosimplesamlphp:masterfrom
m0ark:fix-auth-state-authninstant

Conversation

@m0ark
Copy link
Copy Markdown
Contributor

@m0ark m0ark commented Jun 30, 2025

The time of authentication is handled in the field 'AuthnInstant' and should be persisted in the state in case it is needed.

This PR fixes a typo in a key reference for the field 'AuthnInstant'.

Since these kind of typos can happen quite unnoticed, we should consider using constants to refer to array keys.
Any thoughts about it?

m0ark added 2 commits June 30, 2025 10:07
The time of authentication is handled in the field 'AuthnInstant' and should be persisted in the state in case it is needed.
@m0ark m0ark changed the title Fix auth state authninstant Fix auth state AuthnInstant Jun 30, 2025
@tvdijen
Copy link
Copy Markdown
Member

tvdijen commented Jun 30, 2025

Constants for keys certainly is a good approach! I'll create an issue for this.

@tvdijen tvdijen merged commit 3e424a9 into simplesamlphp:master Jun 30, 2025
13 of 19 checks passed
tvdijen pushed a commit that referenced this pull request Jun 30, 2025
* Fix persistence for AuthnInstant data

The time of authentication is handled in the field 'AuthnInstant' and should be persisted in the state in case it is needed.
tvdijen pushed a commit that referenced this pull request Jun 30, 2025
* Fix persistence for AuthnInstant data

The time of authentication is handled in the field 'AuthnInstant' and should be persisted in the state in case it is needed.
tvdijen pushed a commit that referenced this pull request Jun 30, 2025
* Fix persistence for AuthnInstant data

The time of authentication is handled in the field 'AuthnInstant' and should be persisted in the state in case it is needed.
tvdijen pushed a commit that referenced this pull request Jun 30, 2025
* Fix persistence for AuthnInstant data

The time of authentication is handled in the field 'AuthnInstant' and should be persisted in the state in case it is needed.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants