Skip to content

Correct mistake in documentation#150

Open
svenk-ct wants to merge 1 commit into
thephpleague:masterfrom
svenk-ct:patch-1
Open

Correct mistake in documentation#150
svenk-ct wants to merge 1 commit into
thephpleague:masterfrom
svenk-ct:patch-1

Conversation

@svenk-ct
Copy link
Copy Markdown

I think the route /api/token wouldn't be matched by the pattern: ^/token$ in the configuration example. So I changed it to just /token. Feel free to close this if I'm misunderstanding something here.

Make the route in the text the same as in the configuration example.
Copy link
Copy Markdown
Member

@chalasr chalasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, we can remove that api_token firewall entirely and rather use an access_control rule for ^/api/token with roles: PUBLIC_ACCESS. Would you mind trying? (no worry if you don't wan't to make more changes, we'll just leave it up to someone else)

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

Successfully merging this pull request may close these issues.

2 participants