Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Introduce Passport.js with local strategy for authentication #106

Closed
nictownsend opened this issue Nov 13, 2020 · 2 comments · May be fixed by #128
Closed

Introduce Passport.js with local strategy for authentication #106

nictownsend opened this issue Nov 13, 2020 · 2 comments · May be fixed by #128
Assignees
Labels

Comments

@nictownsend
Copy link
Contributor

nictownsend commented Nov 13, 2020

Add passport as authentication layer onto Express server.

Use a local authentication strategy

Redirect client to /login if authentication missing on a protected route

/login express endpoint for performing the calls to mockapi

@nictownsend nictownsend self-assigned this Nov 16, 2020
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Nov 23, 2020
- introduce passport
- add a passport local strategy for authentication
- introduce Authentication interface to contain the multiple
auth checks (authenticate, checkAuth, logout)

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Nov 27, 2020
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out

Contributes-to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Nov 30, 2020
- introduce passport
- add a passport local strategy for authentication
- introduce Authentication interface to contain the multiple
auth checks (authenticate, checkAuth, logout)

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Nov 30, 2020
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out

Contributes-to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Nov 30, 2020
- introduce passport
- add a passport local strategy for authentication
- introduce Authentication interface to contain the multiple
auth checks (authenticate, checkAuth, logout)
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out

Contributes-to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 1, 2020
- introduce passport
- add a passport local strategy for authentication
- introduce Authentication interface to contain the multiple
auth checks (authenticate, checkAuth, logout)
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out

Contributes-to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 1, 2020
- introduce passport
- add a passport local strategy for authentication
- introduce Authentication interface to contain the multiple
auth checks (authenticate, checkAuth, logout)
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out

Contributes-to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 1, 2020
- introduce passport
- add a passport local strategy for authentication
- introduce Authentication interface to contain the multiple
auth checks (authenticate, checkAuth, logout)
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out

Contributes-to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 1, 2020
- introduce passport
- add a passport local strategy for authentication
- introduce Authentication interface to contain the multiple
auth checks (authenticate, checkAuth, logout)
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out

Contributes-to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 1, 2020
- introduce passport
- add a passport local strategy for authentication
- introduce Authentication interface to contain the multiple
auth checks (authenticate, checkAuth, logout)
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out

Contributes-to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 2, 2020
- introduce passport
- add a passport local strategy for authentication
- introduce Authentication interface to contain the multiple
auth checks (authenticate, checkAuth, logout)
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out

Contributes-to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
@matthew-chirgwin matthew-chirgwin linked a pull request Dec 3, 2020 that will close this issue
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 7, 2020
- introduce passport
- add a passport local strategy for authentication
- introduce Authentication interface to contain the multiple
auth checks (authenticate, checkAuth, logout)
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out

Contributes-to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 7, 2020
- security test was left commented

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 7, 2020
- security test was left commented

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 9, 2020
- introduce passport
- add a passport local strategy for authentication
- introduce Authentication interface to contain the multiple
auth checks (authenticate, checkAuth, logout)
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out

Contributes-to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 9, 2020
- security test was left commented

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 10, 2020
- keeping PR clean by reverting whitespace prettier changes

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 10, 2020
- introduce passport
- add a passport local strategy for authentication
- introduce Authentication interface to contain the multiple
auth checks (authenticate, checkAuth, logout)
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out
- remove empty placeholder file

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 10, 2020
- introduce passport
- add a passport local strategy for authentication
- introduce Authentication interface to contain the multiple
auth checks (authenticate, checkAuth, logout)
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out
- remove empty placeholder file

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 15, 2020
- introduce passport
- add a passport local strategy for authentication
- introduce Authentication interface to contain the multiple
auth checks (authenticate, checkAuth, logout)
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out
- remove empty placeholder file

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 15, 2020
- passport strategy
- new config for oidc routes

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 15, 2020
- introduce passport
- add a passport local strategy for authentication
- introduce Authentication interface to contain the multiple
auth checks (authenticate, checkAuth, logout)
- scram router module for authentication, logout, and auth check
- no op for no auth
- extend auth support to provide additional functions to all modules
for checking auth, logging out
- remove empty placeholder file

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 15, 2020
- passport strategy
- new config for oidc routes

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 15, 2020
- passport strategy
- new config for oidc routes

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 15, 2020
- passport strategy
- new config for oidc routes

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 15, 2020
- passport strategy
- new config for oidc routes

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
nictownsend added a commit to nictownsend/strimzi-ui that referenced this issue Dec 15, 2020
- passport strategy
- new config for oidc routes

Contributes to: strimzi#106

Signed-off-by: Nic Townsend <[email protected]>
@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant