Skip to content

Support REMOTE_USER header for web authentication#2007

Merged
lunkwill42 merged 16 commits intoUninett:masterfrom
hmpf:remote-user-final
Oct 29, 2019
Merged

Support REMOTE_USER header for web authentication#2007
lunkwill42 merged 16 commits intoUninett:masterfrom
hmpf:remote-user-final

Conversation

@hmpf
Copy link
Copy Markdown
Contributor

@hmpf hmpf commented Oct 17, 2019

Fixes #1774

@hmpf hmpf mentioned this pull request Oct 17, 2019
@hmpf hmpf requested a review from lunkwill42 October 17, 2019 07:04
Copy link
Copy Markdown
Member

@lunkwill42 lunkwill42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks mostly good by now, but there are still issues with missing documentation and a broken navuser subcommand.

There's also my usual nitpick concerning my preferred convention of the "the Stepdown rule" in NAV code. Re: "Clean code" by Robert C. Martin (Uncle Bob), a highly recommended book. Here's the relevant excerpt:
the-stepdown-rule

However, since you're off on a workshop these two days preceding the release, I'm going to take a stab at fixing some of these issues myself.

@lunkwill42 lunkwill42 added this to the 5.0.0 milestone Oct 29, 2019
@lunkwill42 lunkwill42 changed the title Remote user feature, final Support REMOTE_USER header for web authentication Oct 29, 2019
@lunkwill42 lunkwill42 merged commit 33c7b3b into Uninett:master Oct 29, 2019
@hmpf hmpf deleted the remote-user-final branch October 31, 2019 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Honor REMOTE_USER env variable as an alternative way of login

2 participants