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

oauth, bugfix #873

Merged
merged 3 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"license": "MIT",
"dependencies": {
"@abaplint/cli": "^2.106.5",
"@abaplint/runtime": "^2.8.22",
"@abaplint/runtime": "^2.8.23",
"@abaplint/database-sqlite": "^2.8.0",
"@abaplint/transpiler-cli": "^2.8.22"
"@abaplint/transpiler-cli": "^2.8.23"
}
}
2 changes: 1 addition & 1 deletion src/oauth2/cl_oauth2_client.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ CLASS cl_oauth2_client IMPLEMENTATION.
DATA lo_client TYPE REF TO cl_oauth2_client.
DATA lv_scope TYPE string.

WRITE '@KERNEL const scopes = abap.OA2P[i_profile.get().toUpperCase()].scopes;'.
WRITE '@KERNEL const scopes = abap.OA2P[i_profile.get().toUpperCase().trimEnd()].scopes;'.
WRITE '@KERNEL lv_scope.set(scopes[0].get());'.

CREATE OBJECT lo_client.
Expand Down
Loading