README.md in rodauth-oauth-0.6.1 vs README.md in rodauth-oauth-0.7.0

- old
+ new

@@ -514,11 +514,11 @@ response.raise_for_status payload = json.parse(response.to_s) puts payload #=> { # "access_token" => .... # "mac_key" => .... -# "mac_algorithm" => +# "mac_algorithm" => ``` which you'll be able to use to generate the mac signature to send in the "Authorization" header. #### DB schema @@ -563,11 +563,11 @@ plugin :rodauth do enable :oauth_jwt oauth_jwt_key rsa_private oauth_jwt_public_key rsa_public - oauth_jwt_algorithm "RS256" + oauth_jwt_algorithm "RS256" end ``` #### JWK @@ -579,11 +579,11 @@ plugin :rodauth do enable :oauth_jwt oauth_jwt_jwk_key rsa_private oauth_jwt_jwk_public_key rsa_public - oauth_jwt_jwk_algorithm "RS256" + oauth_jwt_jwk_algorithm "RS256" end ``` #### JWE @@ -625,10 +625,18 @@ #### DB Schema You'll still need the "oauth_tokens" table, however you can remove the "token" column. +#### Internationalization (i18n) + +`rodauth-oauth` supports translating all user-facing text found in all pages and forms, by integrating with [rodauth-i18n](https://github.com/janko/rodauth-i18n). Just set it up in your application and `rodauth` configuration. + +Default translations shipping with `rodauth-oauth` can be found [in this directory](https://gitlab.com/honeyryderchuck/rodauth-oauth/-/tree/master/locales). If they're not available for the languages you'd like to support, consider getting them translated from the english text, and contributing them to this repository via a Merge Request. + +(This feature is available since `v0.7`.) + #### Caveats Although very handy for the mentioned use case, one can't revoke a JWT token on demand (it must expire first). ## Ruby support policy @@ -644,6 +652,5 @@ After checking out the repo, run `bundle install` to install dependencies. Then, run `rake test` to run the tests, and `rake rubocop` to run the linter. ## Contributing Bug reports and pull requests are welcome on Gitlab at https://gitlab.com/honeyryderchuck/rodauth-oauth. -