alpheios-project / embed-lib

Alpheios Embedded Library
Other
6 stars 0 forks source link

Feat auth server #43

Closed balmas closed 5 years ago

balmas commented 5 years ago

This PR requires the changes in alpheios-project/components#368 and alpheios-project/wordlist#15

It adds session and getEndpoints methods to the Authenticator interface, to support server-side auth and deployment-environment config of user data endpoints.

It also implements a SessionAuthenticator which can be used in place of the AppAuthenticator for traditional server-side web applications

balmas commented 5 years ago

@balmas , I have uploaded this version and branches with alpheios-project/wordlist#15 alpheios-project/components#368

I used this link http://localhost:8888/demo/auth.html I have got the following errors on page start up (before login)

image

ah, I missed adding the (unimplemented) session method to the AppAuthenticator. will fix.