Skip to content

Commit

Permalink
Merge pull request #73 from mezzio/hotfix/35-absolute-uri
Browse files Browse the repository at this point in the history
Document that redirect_uri is absolute
  • Loading branch information
Ocramius authored Aug 7, 2024
2 parents 1199de7 + b308c0a commit 6e6dea0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
[![Build Status](https://github.com/mezzio/mezzio-authentication-oauth2/workflows/Continuous%20Integration/badge.svg)](https://github.com/mezzio/mezzio-authentication-oauth2/actions?query=workflow%3A"Continuous+Integration")

> ## 🇷🇺 Русским гражданам
>
>
> Мы, участники Laminas, родились и живем в разных странах. У многих из нас есть друзья, родственники и коллеги как в России, так и в Украине. Некоторые из нас родились в России. Некоторые из нас живут в России. У некоторых бабушки и дедушки сражались с фашистами во Второй мировой войне. Здесь никто не поддерживает фашизм.
>
>
> У одного из нас есть украинская родственница, которая спаслась из дома вместе с сыном. Поезд задержался из-за бомбежки на дороге впереди. У нас есть друзья, которые прячутся в бомбоубежищах. Мы с тревогой ждем весточки от них после воздушных налетов, которые беспорядочно наносят удары и попадают по больницам, школам, детским садам и домам. Мы не берем это из каких-либо СМИ. Мы наблюдаем это напрямую.
>
>
> Вы доверяете нам достаточно, чтоб использовать наши программы, и мы просим вас довериться нам вновь. Мы нуждаемся в помощи. Выходите и протестуйте против этой бесполезной войны. Остановите кровопролитие. Скажите "Нет войне!"
>
>
> ## 🇺🇸 To Citizens of Russia
>
>
> We at Laminas come from all over the world. Many of us have friends, family and colleagues in both Russia and Ukraine. Some of us were born in Russia. Some of us currently live in Russia. Some have grandparents who fought Nazis in World War II. Nobody here supports fascism.
>
>
> One team member has a Ukrainian relative who fled her home with her son. The train was delayed due to bombing on the road ahead. We have friends who are hiding in bomb shelters. We anxiously follow up on them after the air raids, which indiscriminately fire at hospitals, schools, kindergartens and houses. We're not taking this from any media. These are our actual experiences.
>
>
> You trust us enough to use our software. We ask that you trust us to say the truth on this. We need your help. Go out and protest this unnecessary war. Stop the bloodshed. Say "stop the war!"
Laminas-mezzio-authentication-oauth2 is middleware for [Mezzio](https://github.com/mezzio/mezzio)
Expand Down Expand Up @@ -47,6 +47,6 @@ Browse the documentation online at https://docs.mezzio.dev/mezzio-authentication

## Support

* [Issues](https://github.com/mezzio/mezzio-authentication-oauth2/issues/)
* [Chat](https://laminas.dev/chat/)
* [Forum](https://discourse.laminas.dev/)
- [Issues](https://github.com/mezzio/mezzio-authentication-oauth2/issues/)
- [Chat](https://laminas.dev/chat/)
- [Forum](https://discourse.laminas.dev/)
2 changes: 1 addition & 1 deletion docs/book/v1/grant/auth_code.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ authorization server:

- `response_type` = code.
- `client_id` with the client identifer.
- `redirect_uri` with the URI to which to redirect the client following
- `redirect_uri` with the absolute URI to which to redirect the client following
successful authorization. This parameter is optional, but if it is not sent,
the user will be redirected to a default location on completion.
- `scope` with a space-delimited list of requested scope permissions.
Expand Down
6 changes: 3 additions & 3 deletions docs/book/v1/grant/implicit.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ authorization server:

- `response_type` = token.
- `client_id`, with the client’s ID.
- `redirect_uri`, with the URI to which to redirect the client after completing
authorization. This parameter is optional; if not provided, however, the user
will be redirected to a default location.
- `redirect_uri`, with the absolute URI to which to redirect the client after
completing authorization. This parameter is optional; if not provided,
however, the user will be redirected to a default location.
- `scope`, with a space-delimited list of requested scope permissions.
- `state`, with a Cross-Site Request Forgery (CSRF) token. This parameter is
optional but highly recommended. You can store the value of CSRF token in the
Expand Down

0 comments on commit 6e6dea0

Please sign in to comment.