Skip to content

A omnitauth strategy for validating Apple ID tokens generated by Apple authentication servers.

License

Notifications You must be signed in to change notification settings

MasteryConnect/omniauth-apple-id-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OmniAuth::AppleIdToken

WIP

Note that this project is a work in progress and is not necessarily ready for production use at this time.

A omnitauth strategy primarily used for validating Apple ID tokens (JWT encoded) generated by Apple authentication servers. As with other Omniauth strategies, it can also redirect to Apple's Sign In page.

Installation

Add this line to your application's Gemfile:

gem 'omniauth-apple-id-token'

And then execute:

$ bundle

Or install it yourself as:

$ gem install omniauth-apple-id-token

Usage

You use OmniAuth::Strategies::AppleIdToken just like you do any other OmniAuth strategy:

use OmniAuth::Strategies::AppleIdToken, aud_claim: 'com.example.app-name'

If this strategy is used primarily for validating a Apple ID token, then the only required fields are aud_claim.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

A omnitauth strategy for validating Apple ID tokens generated by Apple authentication servers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages