https://github.com/sgerrand/omniauth-fidor
OmniAuth strategy for the Fidor Banking API.
https://github.com/sgerrand/omniauth-fidor
Last synced: 3 months ago
JSON representation
OmniAuth strategy for the Fidor Banking API.
- Host: GitHub
- URL: https://github.com/sgerrand/omniauth-fidor
- Owner: sgerrand
- License: mit
- Created: 2016-04-16T22:16:26.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-19T11:56:45.000Z (about 9 years ago)
- Last Synced: 2025-01-30T09:35:02.292Z (4 months ago)
- Language: Ruby
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE.txt
Awesome Lists containing this project
README
# OmniAuth Fidor
[](https://travis-ci.org/sgerrand/omniauth-fidor)
[](https://codeclimate.com/github/sgerrand/omniauth-fidor)
[](https://codeclimate.com/github/sgerrand/omniauth-fidor/coverage)This is a OmniAuth strategy for authenticating to [Fidor
Banking][fidor-banking]. To use it, you'll need to sign up for an OAuth2
Application ID and Secret on the [Fidor Developer Page][fidor-developers].[fidor-banking]: https://www.fidor.de/
[fidor-developers]: https://developer.fidor.de/## Basic Usage
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'omniauth-fidor'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install omniauth-fidor
## Usage
```ruby
use OmniAuth::Builder do
provider :fidor, ENV['FIDOR_KEY'], ENV['FIDOR_SECRET']
end
```## Development
After checking out the repo, run `rake install:development` to install
dependencies. Then, run `rake test` to run the tests.To install this gem onto your local machine, run `rake install`. To release a
new version, update the version number in the `CHANGELOG`, and then run `rake
release`, which will create a git tag for the version, push git commits and
tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).You can also use the sandbox versions of the API and OAuth URLs for testing by
passing an optional fourth parameter to the builder:```ruby
use OmniAuth::Builder do
provider :fidor, ENV['FIDOR_KEY'], ENV['FIDOR_SECRET'], false
end
```If you need to use endpoints that differ from Fidor's production or sandbox
environments, you can override them by setting the `FIDOR_API_URL` and/or
`FIDOR_OAUTH_URL` environment variables.## Contributing
Bug reports and pull requests are welcome on [GitHub](https://github.com/sgerrand/omniauth-fidor).
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).