Can't use SDK on server with [server] REQUIRE_SIGNIN_VIEW = true #517

Closed
opened 2021-05-16 15:51:32 +00:00 by noerw · 2 comments
Member

...because /api/v1/version is not available without auth, which is a request that the sdk client does when it is instantiated..

...because `/api/v1/version` is not available without auth, which is a request that the sdk client does when it is instantiated..
lunny added the
kind/bug
label 2021-05-16 16:02:36 +00:00
6543 added the
priority/critical
label 2021-05-16 17:22:11 +00:00
6543 self-assigned this 2021-05-27 14:13:43 +00:00
Owner

it shold not be an issue, since on NewClient the optional Option functions are itterated, where you should add authentifikation, you would need in this case anyway.

after that the version is checked, but it would already use the credentials/token set before.

it shold not be an issue, since on NewClient the optional Option functions are itterated, where you should add authentifikation, you would need in this case anyway. after that the version is checked, but it would already use the credentials/token set before.
6543 added
kind/question
and removed
kind/bug
labels 2021-05-27 14:59:15 +00:00
Author
Member

Hm, then we need to make some changes to tea login add, as that doesn't work currently in this context

Hm, then we need to make some changes to `tea login add`, as that doesn't work currently in this context
noerw closed this issue 2021-05-28 09:18:20 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/go-sdk#517
No description provided.