Error in GetCredentials^OAUTH2.ZAUTHENTICATE.mac
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Domain
- authentication
Research direction
Start at GetCredentials in OAUTH2.ZAUTHENTICATE.mac and inspect the %request.Data call highlighted in the issue. Reproduce or trace the request-state lookup, then verify the routine handles the session query parameter correctly without losing the state value.
Written by the indexing model from the issue text.
Description
If I had a dollar for every time someone forgets the ,1) on %request.Data(...
This line:
if ServiceName="%Service_WebGateway",$data(%request.Data(##class(%OAuth2.Login).#SessionQueryParameter),state) {
Should be something like:
if ServiceName="%Service_WebGateway" {
set sessionQueryParameter = ##class(%OAuth2.Login).#SessionQueryParameter
set state = $get(%request.Data(sessionQueryParameter,1))
if state '= "" {
...
}
- Dominant language
- ObjectScript
- Stars
- 10
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from intersystems/Samples-Security
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
All issues in intersystems/Samples-Security
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AXERA-TECH/ax-llm#75 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TheManticoreProject/Manticore#1383 ·
-
auth bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100