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

Explain what to write in oauth_authorize section for dummies #367

Open
velikanov opened this issue Dec 6, 2015 · 8 comments
Open

Explain what to write in oauth_authorize section for dummies #367

velikanov opened this issue Dec 6, 2015 · 8 comments

Comments

@velikanov
Copy link

I just can't get it to work because I just don't understand what to write there…
# Add your favorite authentication process here - it's really helpful example

@marcel-obrin
Copy link

+1

2 similar comments
@JanPietrzyk
Copy link

+1

@zenril
Copy link

zenril commented Mar 3, 2016

+1

@matudelatower
Copy link

+1

1 similar comment
@santiagosemhan
Copy link

+1

@gracacs
Copy link

gracacs commented Jul 21, 2016

I do believe it's something like this (from FOSUserBundle)

main: pattern: ^/
form_login:
provider: fos_userbundle
csrf_token_generator: security.csrf.token_manager
# if you are using Symfony < 2.8, use the following config instead:
# csrf_provider: form.csrf_provider
logout: true
anonymous: true

@JulienBreux
Copy link

JulienBreux commented Nov 30, 2016

+1

@stof, in my case, I don't want to use an open "login form".
Only oAuth auth form API.

(Twig is disabled)

No /login or /login_check routes opened.

How to do?

@Zuhayer
Copy link

Zuhayer commented Sep 15, 2017

    oauth_token:
        pattern:    ^/oauth/v2/token
        security:   false

This is mentioned in the test (/vendor/friendsofsymfony/oauth-server-bundle/Tests/Functional/config/config.yml)

Is this a correct setting?

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

9 participants