Skip to content
Discussion options

You must be logged in to vote

There has never been an IdOAuth2Bearer.pas unit in Indy. You were likely using a 3rd party unit.

If you want to use OAuth2 authentication with TIdPOP3, TIdSMTP, TIdIMAP4, or TIdDICT, then you need to use the TIdSASLOAuth... classes available in the IdSASLOAuth.pas unit:
https://www.indyproject.org/2024/10/20/sasl-oauth-support-finally-added-to-master/

If you want to use OAuth2 authentication with HTTP/S, that is not implemented at this time, but I do have a work-in-progress TIdBearerAuthentication class in an IdAuthenticationBearer.pas unit, if you want to try that.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MGUERRA2019
Comment options

@rlebeau
Comment options

Answer selected by rlebeau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Type: Question Issue is asking a question, or requesting support/clarity
2 participants