oauth
FractalOpenID
¶
Bases: OpenID
Subclass of httpx_oauth.clients.openid.OpenID with customizable name for
the "email" claim.
Source code in fractal_server/app/routes/auth/oauth.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | |
get_id_email(token)
async
¶
Identical to the parent-class method (httpx-oauth version 0.16.1),
apart from making "email" configurable.
Source code in fractal_server/app/routes/auth/oauth.py
29 30 31 32 33 34 35 36 37 38 | |
get_oauth_router()
¶
Get the APIRouter object for OAuth endpoints.
Source code in fractal_server/app/routes/auth/oauth.py
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |