Mixin OAuth for Single-page applications
  
    
  
      2022-07-28 16:17
  
    
      Words count:
    
    
      241
    
  
  Introducing how to handle Mixin OAuth by yourself without exposing client_secret. A basic understanding of Javascript is required.
    The current method of using OAuth introduced in /docs/api/oauth requires developers to redirect users to https://mixin.one/oauth/authorize first to get authenticated. Which in some cases doesn’t fit the scenario. Here I introduce a way to authorize the user without leaving the current page and without exposing client_secret.
  2
  times bought, 
  0
  times reward
 
      Comments
    
    
   
  @0x1A
      a371
    
    Didn't leave anything
  
  
    Related Posts
  
    
       如何通过js转账NFT(详细教程)
      如何通过js转账NFT(详细教程)
    
       单页应用(SPA)使用Mixin OAuth教程
      单页应用(SPA)使用Mixin OAuth教程