• last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added support for using GitHub as an identity provider

The handler allows using GitHub as an identity provider for

logins. The GitHub account of the user must have an email address

configured. Optionally, new OpenACS accounts can be created based on

the identity data provided from GitHub.

This functionality is very similar to using Azure accounts via the

Microsoft identity platform provider.

Setup instructions will follow soon.

file authorize-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/authorize-procs.tcl
file github-login-handler.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/github-login-handler.tcl
file github-login-handler.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/github-login-handler.adp
make scope and response_type for ms::Authorize configurable

Added support for v2.0 for "Microsoft identity platform ID tokens"

Provide external registry information for usage in the login cookie

- This allows a logout operation from Azure, when login happend from

there as well.

- Bump version number to 0.4d3

Added preliminary support for Microsoft identity platform ID tokens

file azure-login-handler.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/azure-login-handler.adp
file azure-login-handler.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/azure-login-handler.tcl
added minimal comments

Fix typo, make mailNickname required as per Microsoft specs (see https://learn.microsoft.com/en-us/graph/api/team-clone?view=graph-rest-1.0&tabs=http#request-body)

Many thanks to Sebastian Scheder

initialize list for cases, where no parameters are provided.

not sure, whether such requests are useful, nut at least, these

should not error out.

improve spelling

  1. … 4 more files in changeset.
prefer dict over anonymous array

Document public api

  1. … 1 more file in changeset.
Add documentation to public api

switch from xo::db::sql to acs::dc interface

  1. … 11 more files in changeset.
Fix typo

complete query variables

make sure, no commented out code is added to the proc doc

improve documentation

Made passing of "-object" to atjob optional.

When there is no object specified, use the global en:atjob-form

object as parent.

  1. … 2 more files in changeset.
Added a ".donecallback" in addition to "-wait" for async operations (via atjobs)

When a "-donecallback" is specified, it is fired when either the async

operation status is "succeeded" or leads to an error. The operation

status is added as additional argument to the callback (it might be a

dict for unexpected replies from MSGraph).

The additional argument was added to the methods

- team archive

- team clone

- team create

- team unarchive

make package requiring more robust (there seems one more issue with assumptions about loading order, we should use bson lib)

MSGraph: added a "-wait" option for async operations

this concerns the methods

- team archive

- team clone

- team create

- team unarchive

MSGraph: added built-in support for pagination

By default, MSGraph returns for a query just the first 100

results ("pagination"). To obtain more results, it is

necessary to issue multiple requests. If "-max_entries" is

specified, the interface tries to get the requested

number of entries. If there are less entries available,

just these are returned.

The parameter -max_entries was added to the following calls:

- group list

- group member list

- user list

Factor out common code, which is not specific to Microsoft Graph

file rest-procs.tcl was initially added on branch oacs-5-10.

uadded team archive/unarchive operations