docs: update README.md

This commit is contained in:
FoskyM 2023-10-02 07:03:09 +08:00
parent 803d7404b9
commit 56f70a9147
No known key found for this signature in database
GPG key ID: 42C0ED6994AD7E9C

View file

@ -31,6 +31,13 @@ php flarum cache:clear
### set scope for your resources (user.read is default scope) ### set scope for your resources (user.read is default scope)
![Snipaste_2023-10-02_06-16-06](https://github.com/FoskyM/flarum-oauth-center/assets/39661663/31648ad2-4326-47e0-9d26-c0e3b2f30f8d) ![Snipaste_2023-10-02_06-16-06](https://github.com/FoskyM/flarum-oauth-center/assets/39661663/31648ad2-4326-47e0-9d26-c0e3b2f30f8d)
### uri
authorize: `/oauth/authorize`
token: `/oauth/token`
resource(user): `/api/user`
### do it as normal OAuth client ### do it as normal OAuth client
![Snipaste_2023-10-02_06-16-31](https://github.com/FoskyM/flarum-oauth-center/assets/39661663/1632672e-e631-41bc-b794-40428157b41c) ![Snipaste_2023-10-02_06-16-31](https://github.com/FoskyM/flarum-oauth-center/assets/39661663/1632672e-e631-41bc-b794-40428157b41c)