Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autentication using Microsoft exchange: explore #39

Open
nathcast opened this issue Jan 11, 2023 · 5 comments
Open

Autentication using Microsoft exchange: explore #39

nathcast opened this issue Jan 11, 2023 · 5 comments
Labels
enhancement New feature or request market research When we need to find a good way to do things or a tool

Comments

@nathcast
Copy link
Contributor

nathcast commented Jan 11, 2023

Authentication for this project needs to be linked to the local environment and use the Microsoft server.
Explore how it is done in LARAVEL,
Make a test Apptest apps
Ask Colin or Oli #how they did it in their methods

@nathcast nathcast added enhancement New feature or request market research When we need to find a good way to do things or a tool labels Jan 11, 2023
@nathcast
Copy link
Contributor Author

Message for ITS: not sent yet:
Hi, this might be for Constantin, or Oli, or Nik

Hi

For the eRAcuration App which will want to restrict it to solely people authorized to edit the eRA metadata. I could implement a login system, however, as per Roth practice, I beleive it would be better to use rothamsted login for that.

at this stage, I would like to see how it is done on other Rothamsted apps, see how it is transferable to PHP and Laravel.

I have found one article about it, https://www.webappfix.com/post/microsoft-authentication-implement-on-laravel-app.html and I would like to know if I am going in the right direction.

thanks for pointers

Nathalie

@nathcast
Copy link
Contributor Author

These look promissing:
LDAPRecord - https://github.com/DirectoryTree/LdapRecord-Laravel -LdapRecord-Laravel is a package that provides you the ability to search your LDAP directory, perform operations, and authenticate LDAP users into your Laravel application.

https://medium.com/geekculture/laravel-ldap-authentication-laravel-login-with-ldap-437674903068

How to enable API authentication with LDAP and Laravel passport?
https://itqaguru.com/how-to-enable-api-authentication-with-ldap-and-laravel-passport/

LARAVEL SOCIALITE: https://laravel.com/docs/9.x/socialite#main-content

@nathcast
Copy link
Contributor Author

Raised ticket to get LDAP information

@nathcast
Copy link
Contributor Author

nathcast commented Jan 25, 2023

@nathcast
Copy link
Contributor Author

from Constantin, I learn that on the ODYSSEY server, we are not using LDAP or active directory, but PAM.

So I had some thoughts and we can use for authentication either LDAP/PAM if it is relatively easy, or they could use the Rothamsted Syndicated Login that is in the pipeline
So what can I do so far? I can at least get the middleware sorted so that I know what actions need login and which don't. Let's not be too complicated. If not logged in, there should not be any access: can user see what they want in eraCuration if there is no login?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request market research When we need to find a good way to do things or a tool
Projects
None yet
Development

No branches or pull requests

1 participant