OAuth2 Identity Provider

This component provides the built in Fantastico identity provider which supports:

  • Customizable login screen
  • API for users CRUD operations
  • API for persons.

You can read more about this on OAUTH2 Fantastico IDP.

Integration

In order to use OAuth2 identity provider into your project follow the steps below:

  1. Activate OAuth2 IDP extension.

    fsdk activate-extension --name oauth2_idp --comp-root <comp_root>
    
  2. Synchronize your database with latest changes.

    fsdk syncdb --db-command /usr/bin/mysql --comp-root <comp_root>
    
  3. Run development server.

  4. Visit http://localhost:12000/oauth/authorize?response_type=token&state=xyz&error_format=hash&client_id=11111111-1111-1111-1111-111111111111&scope=user.profile.read&redirect_uri=/oauth/idp/ui/cb

  5. Log with admin@fantastico.com / 1234567890

  6. You should see a success html page which displays your access token.