Skip to content

Commit f073a44

Browse files
sammuliclaude
andcommitted
docs: document fdp login/logout and auto-login
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 537eb47 commit f073a44

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
11
# fdp
2+
3+
## Authentication
4+
5+
`fdp login` mints a SciToken via the pelican GitHub-OAuth flow and caches it
6+
under `~/.fdp/cache/<device>.token`. `fdp run ...` auto-acquires a token when
7+
none is valid and the session is interactive; set `FDP_NO_AUTO_LOGIN=1` to
8+
disable that (e.g. in batch jobs). `fdp logout` deletes the cached token.
9+
`fdp env` never launches the flow. Resolution order: `-t/--bearer-token`,
10+
then `$BEARER_TOKEN`, then the managed cache, then the legacy `~/.fdp/token`.

0 commit comments

Comments
 (0)