Skip to content

Demo of Imgur authorization, upload and refresh token for Spring Boot

License

Notifications You must be signed in to change notification settings

alan10607/imgur-spring-boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imgur-spring-boot

Demo of Imgur authorization, upload and refresh token for Spring Boot

Imgur OAuth flows

           +----------+   1. Get token authorization       +---------------------+
           |          |  --------------------------------> |                     |
           |          |   2. Get access token              | Imgur Authorization |
           |          |  <-------------------------------- |                     |
           |          |                                    +---------------------+
3. User    |          |
 request   |          |   4. Upload img with access token  +---------------------+
---------> |          |  --------------------------------> |                     |
           |  server  |   5. Get img url                   | Imgur Resource      |
           |          |  <-------------------------------- |                     |
           |          |                                    +---------------------+
           |          |
           |          |   6. Re-auth with refresh token    +---------------------+
           |          |  --------------------------------> |                     |
           |          |   7. Get access token              | Imgur Authorization |
           |          |  <-------------------------------- |                     |
           +----------+                                    +---------------------+

About

Demo of Imgur authorization, upload and refresh token for Spring Boot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published