Skip to content

This is an example repository for authorisation plugins. It works by defining the API request needed to acquire an access token.

License

Notifications You must be signed in to change notification settings

SynBioHub/Plugin-Auth-Test

Repository files navigation

Plugin-Auth-Test

A very small test plugin to test the authorisation interface is working for SynBioHub. Could be the basis for other python based authorisation plugins. The plugin has a status, login, refresh, and logout endpoint. The login, refresh, and logout endpoints returns the format required for an API request to the relevant endpoints. It can be tested using the server found at: https://github.com/SynBioHub/Auth-Testing

Install

Using docker

Run docker run --publish 8101:5000 --detach --name python-auth-test-plug synbiohub/plugin-auth-test:snapshot Check it is up using localhost:8101.

Using Python

Run pip install -r requirements.txt to install the requirements. Then run FLASK_APP=app python -m flask run. A flask module will run at localhost:5000/.

About

This is an example repository for authorisation plugins. It works by defining the API request needed to acquire an access token.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published