Add State Param in Configuration
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 165
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I am migrating from react-oidc-context v3 to react-oidc v5.
The default value of state is undefined in v5 but our authentication service using Ory Hydra requires an valid state value.
I have tried adding state in extras prop but it is not working.
Could we get an option to set our own state value in the configuration provided to OidcProvider?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the OidcProvider configuration and the existing handling of the extras prop, then follow where the state value is generated for authentication. Done means callers can provide a custom state value through configuration and that value is used by the authentication flow; add or update coverage for the configuration behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- authentication, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100