Skip to content

feat(setup-osc): Add a token input for authentication - #46

Merged
nnobelis merged 1 commit into
mainfrom
nnobelis/add_offline_token_support
Sep 14, 2026
Merged

feat(setup-osc): Add a token input for authentication#46
nnobelis merged 1 commit into
mainfrom
nnobelis/add_offline_token_support

Conversation

@nnobelis

@nnobelis nnobelis commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Allow authenticating with a token generated in the profile section of the ORT Server UI, as an alternative to the username/password couple. When token is set, osc auth login is called with --token.

@sschuberth

This comment was marked as resolved.

Comment thread setup-osc/action.yml
Comment thread setup-osc/action.yml Outdated
@nnobelis
nnobelis force-pushed the nnobelis/add_offline_token_support branch 2 times, most recently from bb9991a to 90583ab Compare September 7, 2026 08:21
@nnobelis
nnobelis marked this pull request as ready for review September 7, 2026 08:34
Comment thread setup-osc/action.yml
Comment thread setup-osc/action.yml
Comment thread setup-osc/action.yml Outdated
@nnobelis
nnobelis force-pushed the nnobelis/add_offline_token_support branch from 362624d to 73370b4 Compare September 10, 2026 13:39
mnonnenmacher
mnonnenmacher previously approved these changes Sep 11, 2026
@mnonnenmacher

mnonnenmacher commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Looks good from my side but @MarcelBochtler should have another look. @nnobelis have you tested that both ways to authenticate work with these changes?

Comment thread setup-osc/action.yml Outdated
Comment thread setup-osc/action.yml Outdated
Comment thread setup-osc/action.yml Outdated
Comment thread setup-osc/action.yml Outdated
Comment thread setup-osc/action.yml
Comment thread setup-osc/action.yml
@nnobelis
nnobelis force-pushed the nnobelis/add_offline_token_support branch from 8b69846 to 6c13f1f Compare September 11, 2026 10:33
@nnobelis
nnobelis force-pushed the nnobelis/add_offline_token_support branch from 6c13f1f to c5f3039 Compare September 11, 2026 12:41
Allow authenticating with a token generated in the profile section of
the ORT Server UI, as an alternative to the username/password couple.
When `token` is set, `osc auth login` is called with `--token`.

Fixes #45.

Signed-off-by: Nicolas Nobelis <nicolas.nobelis@bosch.com>
@nnobelis
nnobelis force-pushed the nnobelis/add_offline_token_support branch from f0f116c to 88de914 Compare September 11, 2026 13:08
@nnobelis

Copy link
Copy Markdown
Contributor Author

Please do not merge. I will retest the changes on Monday.

@nnobelis

Copy link
Copy Markdown
Contributor Author

@mnonnenmacher Retested successfully with token and user/password, hence merging it.

@nnobelis
nnobelis merged commit a911050 into main Sep 14, 2026
7 checks passed
@nnobelis
nnobelis deleted the nnobelis/add_offline_token_support branch September 14, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants