From 6c382c598511ba444506d4033ec03193898d6524 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Fri, 7 Jan 2022 21:40:32 +0100 Subject: [PATCH] replace permanently redirected URIs --- auth.rst | 4 ++-- ecosystem.rst | 16 ++++++++-------- index.rst | 6 +++--- releases/v8.0.0.rst | 2 +- releases/v9.0.0.rst | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/auth.rst b/auth.rst index cb2928e8c..9df91c78f 100644 --- a/auth.rst +++ b/auth.rst @@ -215,11 +215,11 @@ JWT from Auth0 An external service like `Auth0 `_ can do the hard work transforming OAuth from Github, Twitter, Google etc into a JWT suitable for PostgREST. Auth0 can also handle email signup and password reset flows. -To use Auth0, create `an application `_ for your app and `an API `_ for your PostgREST server. Auth0 supports both HS256 and RS256 scheme for the issued tokens for APIs. For simplicity, you may first try HS256 scheme while creating your API on Auth0. Your application should use your PostgREST API's `API identifier `_ by setting it with the `audience parameter `_ during the authorization request. This will ensure that Auth0 will issue an access token for your PostgREST API. For PostgREST to verify the access token, you will need to set ``jwt-secret`` on PostgREST config file with your API's signing secret. +To use Auth0, create `an application `_ for your app and `an API `_ for your PostgREST server. Auth0 supports both HS256 and RS256 scheme for the issued tokens for APIs. For simplicity, you may first try HS256 scheme while creating your API on Auth0. Your application should use your PostgREST API's `API identifier `_ by setting it with the `audience parameter `_ during the authorization request. This will ensure that Auth0 will issue an access token for your PostgREST API. For PostgREST to verify the access token, you will need to set ``jwt-secret`` on PostgREST config file with your API's signing secret. .. note:: - Our code requires a database role in the JWT. To add it you need to save the database role in Auth0 `app metadata `_. Then, you will need to write `a rule `_ that will extract the role from the user's app_metadata and set it as a `custom claim `_ in the access token. Note that, you may use Auth0's `core authorization feature `_ for more complex use cases. Metadata solution is mentioned here for simplicity. + Our code requires a database role in the JWT. To add it you need to save the database role in Auth0 `app metadata `_. Then, you will need to write `a rule `_ that will extract the role from the user's app_metadata and set it as a `custom claim `_ in the access token. Note that, you may use Auth0's `core authorization feature `_ for more complex use cases. Metadata solution is mentioned here for simplicity. .. code:: javascript diff --git a/ecosystem.rst b/ecosystem.rst index 6d4aa68c1..883db8bc0 100644 --- a/ecosystem.rst +++ b/ecosystem.rst @@ -105,20 +105,20 @@ Client-Side Libraries * `mithril-postgrest `_ - JS, Mithril * `ng-postgrest `_ - Angular app for browsing, editing data exposed over PostgREST. * `postgrest-client `_ - JS -* `postgrest-csharp `_ - C# -* `postgrest-dart `_ - Dart +* `postgrest-csharp `_ - C# +* `postgrest-dart `_ - Dart * `postgrest-ex `_ - Elixir -* `postgrest-go `_ - Go +* `postgrest-go `_ - Go * `postgrest-js `_ - TypeScript/JavaScript -* `postgrest-kt `_ - Kotlin -* `postgrest-py `_ - Python +* `postgrest-kt `_ - Kotlin +* `postgrest-py `_ - Python * `postgrest-request `_ - JS, SuperAgent -* `postgrest-rs `_ - Rust +* `postgrest-rs `_ - Rust * `postgrest-sharp-client `_ (needs maintainer) - C#, RestSharp -* `postgrest-swift `_ - Swift +* `postgrest-swift `_ - Swift * `postgrest-url `_ - JS, just for generating query URLs * `postgrest_python_requests_client `_ - Python -* `postgrester `_ - JS + Typescript +* `postgrester `_ - JS + Typescript * `postgrestR `_ - R * `py-postgrest `_ - Python * `redux-postgrest `_ - TypeScript/JS, client integrated with (React) Redux. diff --git a/index.rst b/index.rst index aa48aa9c9..3d522585d 100644 --- a/index.rst +++ b/index.rst @@ -51,7 +51,7 @@ Sponsors :width: 13em .. image:: _static/supabase.png - :target: https://supabase.io/?utm_source=postgrest%20backers&utm_medium=open%20source%20partner&utm_campaign=postgrest%20backers%20github&utm_term=homepage + :target: https://supabase.com/?utm_source=postgrest%20backers&utm_medium=open%20source%20partner&utm_campaign=postgrest%20backers%20github&utm_term=homepage :width: 13em .. image:: _static/oblivious.jpg @@ -243,7 +243,7 @@ Here are some companies that use PostgREST in production. * `Datrium `_ * `Drip Depot `_ * `Image-charts `_ -* `Moat `_ +* `Moat `_ * `MotionDynamic - Fast highly dynamic video generation at scale `_ * `Netwo `_ * `Nimbus `_ @@ -251,7 +251,7 @@ Here are some companies that use PostgREST in production. * `OpenBooking `_ * `Redsmin `_ * `Sompani `_ -* `Supabase `_ +* `Supabase `_ .. Certs are failing * `eGull `_ diff --git a/releases/v8.0.0.rst b/releases/v8.0.0.rst index a02a20f69..7cdc36c58 100644 --- a/releases/v8.0.0.rst +++ b/releases/v8.0.0.rst @@ -163,7 +163,7 @@ Big thanks from the `PostgREST team `_ :width: 13em .. image:: ../_static/supabase.png - :target: https://supabase.io/?utm_source=postgrest%20backers&utm_medium=open%20source%20partner&utm_campaign=postgrest%20backers%20github&utm_term=homepage + :target: https://supabase.com/?utm_source=postgrest%20backers&utm_medium=open%20source%20partner&utm_campaign=postgrest%20backers%20github&utm_term=homepage :width: 13em .. image:: ../_static/oblivious.jpg diff --git a/releases/v9.0.0.rst b/releases/v9.0.0.rst index 09187b46f..7843f2403 100644 --- a/releases/v9.0.0.rst +++ b/releases/v9.0.0.rst @@ -63,7 +63,7 @@ Documentation improvements Bug fixes --------- -* Correct RPC return type handling for RETURNS TABLE with a single column (`#1930 `_). +* Correct RPC return type handling for RETURNS TABLE with a single column (`#1930 `_). * Schema Cache query failing with ``standard_conforming_strings = off`` (`#1992 `_). @@ -102,7 +102,7 @@ Big thanks from the `PostgREST team `_ :width: 13em .. image:: ../_static/supabase.png - :target: https://supabase.io/?utm_source=postgrest%20backers&utm_medium=open%20source%20partner&utm_campaign=postgrest%20backers%20github&utm_term=homepage + :target: https://supabase.com/?utm_source=postgrest%20backers&utm_medium=open%20source%20partner&utm_campaign=postgrest%20backers%20github&utm_term=homepage :width: 13em .. image:: ../_static/oblivious.jpg