Hyku: A multi-tenant Hyrax application built on the latest and greatest Samvera community components. Brought to you by the Hydra-in-a-Box project partners and IMLS; maintained by the Hyku Interest Group.
This commit will add the api_key column to the user model and turn on authorized requests for WillowSword. To give a user access, do something like the following:
u = User.find_by(email: 'some_user@example.com')
u.api_key = SecureRandom.uuid
u.save!
To add it in the header, it should look like this:
This commit will add the api_key column to the user model and turn on authorized requests for WillowSword. To give a user access, do something like the following:
To add it in the header, it should look like this:
Ref: