单页应用(SPA)使用Mixin OAuth教程
2022-07-28 16:27
Words count:
326
介绍如何在不暴露client_secret的情况下自己处理Mixin OAuth。阅读此文需要对Javascript有基本的了解。
目前在/docs/api/oauth介绍的方法中,使用OAuth要求开发者首先将用户重定向到https://mixin.one/oauth/authorize
,以获得认证。这在某些场景下不足够连贯。这里我介绍一种方法,在不离开当前页面和不暴露client_secret
的情况下对用户进行授权。
9
times bought,
0
times reward

Comments

@0x1A
a371
Didn't leave anything
Related Posts
