You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tooling.apache.org by "sbp (via GitHub)" <gi...@apache.org> on 2026/01/13 15:44:13 UTC

[I] Consider allowing different authentication methods on a single endpoint (tooling-trusted-releases)

sbp opened a new issue, #504:
URL: https://github.com/apache/tooling-trusted-releases/issues/504

   Per the discussion in #501.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org


Re: [I] Allow different authentication methods on a single endpoint (tooling-trusted-releases)

Posted by "alitheg (via GitHub)" <gi...@apache.org>.
alitheg closed issue #504: Allow different authentication methods on a single endpoint
URL: https://github.com/apache/tooling-trusted-releases/issues/504


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org


Re: [I] Consider allowing different authentication methods on a single endpoint (tooling-trusted-releases)

Posted by "alitheg (via GitHub)" <gi...@apache.org>.
alitheg commented on issue #504:
URL: https://github.com/apache/tooling-trusted-releases/issues/504#issuecomment-3745123851

   From the initial discussion - both of the auth types in question are JWTs - I wonder if one option would be to update `jwtoken._extract_bearer_token` to support pulling from the auth header or the body, then `require` to decode either github or ATR depending? Alternatively we could add params to the `require` decorator to allow it to support github ones and process separately.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org


Re: [I] Allow different authentication methods on a single endpoint (tooling-trusted-releases)

Posted by "alitheg (via GitHub)" <gi...@apache.org>.
alitheg commented on issue #504:
URL: https://github.com/apache/tooling-trusted-releases/issues/504#issuecomment-3805874852

   Ok we're not going to do this any more - we'll intentionally keep the endpoints required for GH functionality separate from the ATR ones.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org


Re: [I] Consider allowing different authentication methods on a single endpoint (tooling-trusted-releases)

Posted by "dave2wave (via GitHub)" <gi...@apache.org>.
dave2wave commented on issue #504:
URL: https://github.com/apache/tooling-trusted-releases/issues/504#issuecomment-3792161325

   So the process would:
   
   1. Look into the header and if present decode ATR.
   2. Look into the body and if present decode GH.
   
   If that's the approach then go ahead!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org