Skip to content

Using bearer tokens and the registry client. #4462

Answered by carlesarnal
davidradl asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @davidradl,

For OIDC auth you must pass your client_id and client_secret to the RegistryClient. What will happen internally is that a Client Credentials Flow will be executed against the authentication server (basically the pair will be exchanged for a valid token). Your credentials are not shared with the server, they remain at the client application level. Given the nature of bearer tokens (it depends on the server, but normally they last for one hour) this is the usual interaction, configure the client application with a client_id and client_secret pair. You would want to create a separate client per each client application so you do not share the credentials across all of them. H…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@davidradl
Comment options

Answer selected by davidradl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants