biigle/auth-lslogin

BIIGLE module to offer authentication via Life Science Login.

v2.0.0 2024-04-02 13:32 UTC

This package is auto-updated.

Last update: 2024-04-02 13:58:42 UTC


README

Test status

This is a BIIGLE module that provides authentication via Life Science Login.

Information on how to register your BIIGLE instance as a new relying party to Life Science Login can be found here. In the application form, enter the following technical information:

  • SAML2 or OIDC: OIDC
  • Supported grants:
    • Authorization Code Flow
    • Refresh Token
  • Client is public: No (leave unchecked)
  • Require PKCE: Yes (check box)
  • Redirect URLs: https://example.com/auth/lslogin/callback (replace example.com with your actual domain)

Installation

  1. Run composer require biigle/auth-lslogin.
  2. Run php artisan vendor:publish --tag=public to refresh the public assets of the modules. Do this for every update of this module.
  3. Configure your Life Science Login credentials in config/services.php like this:
    'lifesciencelogin' => [
        'client_id' => env('LSLOGIN_CLIENT_ID'),
        'client_secret' => env('LSLOGIN_CLIENT_SECRET'),
        'redirect' => '/auth/lslogin/callback',
    ],

Developing

Take a look at the development guide of the core repository to get started with the development setup.

Want to develop a new module? Head over to the biigle/module template repository.

Contributions and bug reports

Contributions to BIIGLE are always welcome. Check out the contribution guide to get started.