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

implement authentication and authorization of access #1

Open
aarppe opened this issue Sep 17, 2020 · 1 comment
Open

implement authentication and authorization of access #1

aarppe opened this issue Sep 17, 2020 · 1 comment
Labels
security Authentication, authorization, or other security issues

Comments

@aarppe
Copy link

aarppe commented Sep 17, 2020

In the corpus specifications, the attribute limitedAccess determines whether access authorization, and thus user authentication is needed.

Of known Korp instances, the Swedish Language Bank (Språkbanken) and CSC - IT Centre for Science (Finland) have implemented such AA procedures. The CSC version (https://korp.csc.fi/) appears more robust than the Språkbanken (https://spraakbanken.gu.se/korp/), as CSC makes use of identity federations, cf.

https://korp.csc.fi/shibboleth-ds/index.html?https%3A%2F%2Fkorp.csc.fi%2Flab%2F%23%3Flang%3Den%26shib_logged_in

Interestingly, one can find UAlberta and UCalgary, and for the latter get as far as a menu requesting a userid and password.

https://cas.ucalgary.ca/cas//login?service=https%3A%2F%2Fshibboleth.ucalgary.ca%2Fidp%2FAuthn%2FExtCas%3Fconversation%3De1s1&entityId=https%3A%2F%2Fsp.korp.csc.fi%2F

What we may have to decide who do we consider as IdP's: Google, Facebook, or also the academic ones. For non-academic folks, one might assume they might have a FB account, as much as I wouldn't be entirely happy to make use of them.

@dwhieb
Copy link

dwhieb commented Oct 8, 2020

One service to consider:

Auth0 is an identity provider that's becoming widely adopted in a lot of open source projects. It aggregates identity providers (Facebook, Twitter, Google, etc.) into a single service. You can specify which identity providers you'd like to allow/disallow. So your application redirects to Auth0 for login, and the Auth0 service figures out the rest, allowing users to login with their provider of choice, matching users by email if they choose to login with different identity providers on different occasions.

@dwhieb dwhieb added the security Authentication, authorization, or other security issues label Jan 29, 2021
@dwhieb dwhieb changed the title Implement authentication and authorization of access implement authentication and authorization of access Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security Authentication, authorization, or other security issues
Projects
None yet
Development

No branches or pull requests

2 participants