Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After We config bundle, get error "default_resource_owner" at path "da_oauth_client" must be configured #1

Open
amitblues123 opened this issue Nov 7, 2014 · 1 comment

Comments

@amitblues123
Copy link

"default_resource_owner" at path "da_oauth_client" must be configured

@Gnucki
Copy link
Member

Gnucki commented Nov 13, 2014

Sorry, I was in vacations without Internet for 10 days.

There is something missing in the configuration: default_resource_owner: my

which give on the step 2:

    # app/config/config.yml

    # ...

    # DaOAuthClient Configuration
    da_oauth_client:
        default_resource_owner: my
        resource_owners:
            my:
                type:              my
                client_id:         adl1fhgf135fsd... # The client id given by the oauth server
                client_secret:     bdl4fghf28fsd6... # The client secret given by the oauth server
                authorization_url: 'https://my-oauth-server-domain/oauth/v2/auth'
                access_token_url:  'https://my-oauth-server-domain/oauth/v2/token'
                revoke_token_url:  'https://my-oauth-server-domain/oauth/v2/revoke'     # [OPTIONAL]
                disconnection_url: 'https://my-oauth-server-domain/oauth/v2/disconnect' # [OPTIONAL]
                infos_url:         'https://my-oauth-server-domain/api/infos'
        #fosub:  # ONLY IF YOU WANT TO PERSIST THE USERS WITH FOSUB
        #    username_iterations: 5
        #    properties:
        #        my: username

I'm sorry if this documentation is a little bit light on a such difficult subject but I did this for a particular job (so it's working) and just make it open source but tell me about your problems and I will try to upgrade it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants