Forum OpenACS Q&A: Has anyone used auth-oidc package to authenticate with Azure Entra ID?

Hi all,
Has anyone had experience with the auth-oidc package to authenticate with Azure Entra ID? From asking google I can see that auth-oidc exists somewhere but do not know how to find and install it.

I am also interested in how well it works.

Thanks in advance;)
Marty Israelsen

Hi Marty,

i do not know anything about a package named "auth-oidc". We are using on our main site the Azure login from the xooauth package,, where the login is directed to the external authenticator page, which redirects to the return-url when the login succeeds.

In short:
- configure tenant and client_id (see [1], either via configuration file or when creating the handler object (next item(
- create a handler object, e.g. in xooauth/tcl/ms-init.tcl
- login like shown in xooauth//www/azure-login-handler.{tcl,adp}

We support on our learn system both, the Azure login (first choice) and alternatively an alternate login with username and password

is this, what you are looking for?
-g

[1] https://openacs.org/xowiki/openacs-with-external-identity-providers?

Thanks Gustaf! That is what I was looking for;) I will look into it.

We may need to get updated on the latest OpenACS version.

I appreciate your knowledge and helpfulness:)